Main Page   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

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 Methods

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

Static Public Methods

vtkImageSinusoidSource * New ()
int IsTypeOf (const char *type)
vtkImageSinusoidSource * SafeDownCast (vtkObject *o)

Protected Methods

 vtkImageSinusoidSource ()
 ~vtkImageSinusoidSource ()
 vtkImageSinusoidSource (const vtkImageSinusoidSource &)
void operator= (const vtkImageSinusoidSource &)
void ExecuteInformation ()
void Execute (vtkImageData *data)
void Execute ()

Protected Attributes

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

Detailed Description

Create an image with sinusoidal pixel values.

Date:
2000/12/10 20:09:10
Revision:
1.19
Thanks:
Thanks to C. Charles Law who developed this class.
vtkImageSinusoidSource just produces images with pixel values determined by a sinusoid.
Examples:
vtkImageSinusoidSource (examples)


Member Function Documentation

virtual const char* vtkImageSinusoidSource::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSource.

virtual int vtkImageSinusoidSource::IsA const char *    type [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 vtkImageSource.

int vtkImageSinusoidSource::IsTypeOf const char *    type [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 vtkImageSource.

vtkImageSinusoidSource* vtkImageSinusoidSource::New   [static]
 

Instantiate object with no start, end, or progress methods.

Reimplemented from vtkImageSource.

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 vtkSource.

vtkImageSinusoidSource* vtkImageSinusoidSource::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageSource.

virtual void vtkImageSinusoidSource::SetAmplitude float    [virtual]
 

Set/Get the magnitude of the sinusoid.

void vtkImageSinusoidSource::SetDirection float   ,
float   ,
float   
 

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

virtual void vtkImageSinusoidSource::SetPeriod float    [virtual]
 

Set/Get the period of the sinusoid in pixels.

virtual void vtkImageSinusoidSource::SetPhase float    [virtual]
 

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

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

Set/Get the extent of the whole output image.


The documentation for this class was generated from the following file:
Generated on Tue Mar 19 13:26:59 2002 for VTK by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002