VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageSinusoidSource Class Reference

Create an image with sinusoidal pixel values. More...

#include <vtkImageSinusoidSource.h>

Inheritance diagram for vtkImageSinusoidSource:
Inheritance graph
[legend]
Collaboration diagram for vtkImageSinusoidSource:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageSinusoidSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetWholeExtent (int xMinx, int xMax, int yMin, int yMax, int zMin, int zMax)
void SetDirection (double, double, double)
void SetDirection (double dir[3])
virtual doubleGetDirection ()
virtual void GetDirection (double &, double &, double &)
virtual void GetDirection (double[3])
virtual void SetPeriod (double)
virtual double GetPeriod ()
virtual void SetPhase (double)
virtual double GetPhase ()
virtual void SetAmplitude (double)
virtual double GetAmplitude ()

Static Public Member Functions

static vtkImageSinusoidSourceNew ()
static int IsTypeOf (const char *type)
static vtkImageSinusoidSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageSinusoidSource ()
 ~vtkImageSinusoidSource ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void ExecuteDataWithInformation (vtkDataObject *data, vtkInformation *outInfo)

Protected Attributes

int WholeExtent [6]
double Direction [3]
double Period
double Phase
double Amplitude

Detailed Description

Create an image with sinusoidal pixel values.

vtkImageSinusoidSource just produces images with pixel values determined by a sinusoid.

Tests:
vtkImageSinusoidSource (Tests)

Definition at line 31 of file vtkImageSinusoidSource.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 35 of file vtkImageSinusoidSource.h.


Constructor & Destructor Documentation

Definition at line 72 of file vtkImageSinusoidSource.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

static int vtkImageSinusoidSource::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageSinusoidSource::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

virtual vtkObjectBase* vtkImageSinusoidSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkImageSinusoidSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkImageAlgorithm.

void vtkImageSinusoidSource::SetWholeExtent ( int  xMinx,
int  xMax,
int  yMin,
int  yMax,
int  zMin,
int  zMax 
)

Set/Get the extent of the whole output image.

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::GetDirection ( double ,
double ,
double  
) [virtual]

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::GetDirection ( double  [3]) [virtual]

Set/Get the direction vector which determines the sinusoidal orientation. The magnitude is ignored.

virtual void vtkImageSinusoidSource::SetPeriod ( double  ) [virtual]

Set/Get the period of the sinusoid in pixels.

Set/Get the period of the sinusoid in pixels.

virtual void vtkImageSinusoidSource::SetPhase ( double  ) [virtual]

Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.

Set/Get the phase: 0->2Pi. 0 => Cosine, pi/2 => Sine.

virtual void vtkImageSinusoidSource::SetAmplitude ( double  ) [virtual]

Set/Get the magnitude of the sinusoid.

Set/Get the magnitude of the sinusoid.

virtual int vtkImageSinusoidSource::RequestInformation ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

Subclasses can reimplement this method to collect information from their inputs and set information for their outputs.

Reimplemented from vtkImageAlgorithm.

virtual void vtkImageSinusoidSource::ExecuteDataWithInformation ( vtkDataObject output,
vtkInformation outInfo 
) [protected, virtual]

This is a convenience method that is implemented in many subclasses instead of RequestData. It is called by RequestData.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 72 of file vtkImageSinusoidSource.h.

Definition at line 75 of file vtkImageSinusoidSource.h.

Definition at line 76 of file vtkImageSinusoidSource.h.

Definition at line 77 of file vtkImageSinusoidSource.h.

Definition at line 78 of file vtkImageSinusoidSource.h.


The documentation for this class was generated from the following file: