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

Create a binary image of an ellipsoid. More...

#include <vtkImageEllipsoidSource.h>

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

List of all members.

Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkImageEllipsoidSourceNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void SetWholeExtent (int extent[6])
void SetWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
void GetWholeExtent (int extent[6])
intGetWholeExtent ()
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual doubleGetCenter ()
virtual void GetCenter (double &, double &, double &)
virtual void GetCenter (double[3])
virtual void SetRadius (double, double, double)
virtual void SetRadius (double[3])
virtual doubleGetRadius ()
virtual void GetRadius (double &, double &, double &)
virtual void GetRadius (double[3])
virtual void SetInValue (double)
virtual double GetInValue ()
virtual void SetOutValue (double)
virtual double GetOutValue ()
virtual void SetOutputScalarType (int)
virtual int GetOutputScalarType ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToDouble ()
void SetOutputScalarTypeToLong ()
void SetOutputScalarTypeToUnsignedLong ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToUnsignedInt ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedShort ()
void SetOutputScalarTypeToChar ()
void SetOutputScalarTypeToUnsignedChar ()

Static Public Member Functions

static vtkImageEllipsoidSourceNew ()
static int IsTypeOf (const char *type)
static vtkImageEllipsoidSourceSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkImageEllipsoidSource ()
 ~vtkImageEllipsoidSource ()
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int WholeExtent [6]
double Center [3]
double Radius [3]
double InValue
double OutValue
int OutputScalarType

Detailed Description

Create a binary image of an ellipsoid.

vtkImageEllipsoidSource creates a binary image of a ellipsoid. It was created as an example of a simple source, and to test the mask filter. It is also used internally in vtkImageDilateErode3D.

Tests:
vtkImageEllipsoidSource (Tests)

Definition at line 32 of file vtkImageEllipsoidSource.h.


Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 36 of file vtkImageEllipsoidSource.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkAlgorithm.

static int vtkImageEllipsoidSource::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 vtkImageEllipsoidSource::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* vtkImageEllipsoidSource::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkImageAlgorithm.

Reimplemented from vtkImageAlgorithm.

void vtkImageEllipsoidSource::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.

Set/Get the extent of the whole output image.

void vtkImageEllipsoidSource::SetWholeExtent ( int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ 
)

Set/Get the extent of the whole output image.

Set/Get the extent of the whole output image.

Set/Get the extent of the whole output image.

Definition at line 45 of file vtkImageEllipsoidSource.h.

virtual void vtkImageEllipsoidSource::SetCenter ( double  ,
double  ,
double   
) [virtual]

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetCenter ( double  [3]) [virtual]

Set/Get the center of the ellipsoid.

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetCenter ( double ,
double ,
double  
) [virtual]

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetCenter ( double  [3]) [virtual]

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetRadius ( double  ,
double  ,
double   
) [virtual]

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetRadius ( double  [3]) [virtual]

Set/Get the radius of the ellipsoid.

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetRadius ( double ,
double ,
double  
) [virtual]

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetRadius ( double  [3]) [virtual]

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetInValue ( double  ) [virtual]

Set/Get the inside pixel values.

Set/Get the inside pixel values.

virtual void vtkImageEllipsoidSource::SetOutValue ( double  ) [virtual]

Set/Get the outside pixel values.

Set/Get the outside pixel values.

virtual void vtkImageEllipsoidSource::SetOutputScalarType ( int  ) [virtual]

Set what type of scalar data this source should generate.

Set what type of scalar data this source should generate.

Set what type of scalar data this source should generate.

Definition at line 76 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 78 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 80 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 82 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 84 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 86 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 88 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 90 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 92 of file vtkImageEllipsoidSource.h.

Set what type of scalar data this source should generate.

Definition at line 94 of file vtkImageEllipsoidSource.h.

virtual int vtkImageEllipsoidSource::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 int vtkImageEllipsoidSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called in response to a REQUEST_DATA request from the executive. Subclasses should override either this method or the ExecuteDataWithInformation method in order to generate data for their outputs. For images, the output arrays will already be allocated, so all that is necessary is to fill in the voxel values.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 102 of file vtkImageEllipsoidSource.h.

Definition at line 103 of file vtkImageEllipsoidSource.h.

Definition at line 104 of file vtkImageEllipsoidSource.h.

Definition at line 105 of file vtkImageEllipsoidSource.h.

Definition at line 106 of file vtkImageEllipsoidSource.h.

Definition at line 107 of file vtkImageEllipsoidSource.h.


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