vtkImageEllipsoidSource Class Reference

#include <vtkImageEllipsoidSource.h>

Inheritance diagram for vtkImageEllipsoidSource:

Inheritance graph
[legend]
Collaboration diagram for vtkImageEllipsoidSource:

Collaboration graph
[legend]

List of all members.


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 31 of file vtkImageEllipsoidSource.h.


Public Types

typedef vtkImageAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
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])
int * GetWholeExtent ()
virtual void SetCenter (double, double, double)
virtual void SetCenter (double[3])
virtual double * GetCenter ()
virtual void GetCenter (double &, double &, double &)
virtual void GetCenter (double[3])
virtual void SetRadius (double, double, double)
virtual void SetRadius (double[3])
virtual double * GetRadius ()
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 (vtkObject *o)

Protected Member Functions

 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

Member Typedef Documentation

Reimplemented from vtkImageAlgorithm.

Definition at line 35 of file vtkImageEllipsoidSource.h.


Constructor & Destructor Documentation

vtkImageEllipsoidSource::vtkImageEllipsoidSource (  )  [protected]

vtkImageEllipsoidSource::~vtkImageEllipsoidSource (  )  [protected]


Member Function Documentation

static vtkImageEllipsoidSource* vtkImageEllipsoidSource::New (  )  [static]

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

Reimplemented from vtkAlgorithm.

virtual const char* vtkImageEllipsoidSource::GetClassName (  )  [virtual]

Reimplemented from vtkImageAlgorithm.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageAlgorithm.

static vtkImageEllipsoidSource* vtkImageEllipsoidSource::SafeDownCast ( vtkObject o  )  [static]

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.

void vtkImageEllipsoidSource::SetWholeExtent ( int  extent[6]  ) 

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.

void vtkImageEllipsoidSource::GetWholeExtent ( int  extent[6]  ) 

Set/Get the extent of the whole output image.

int* vtkImageEllipsoidSource::GetWholeExtent (  )  [inline]

Set/Get the extent of the whole output image.

Definition at line 44 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.

virtual double* vtkImageEllipsoidSource::GetCenter (  )  [virtual]

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.

virtual double* vtkImageEllipsoidSource::GetRadius (  )  [virtual]

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.

virtual double vtkImageEllipsoidSource::GetInValue (  )  [virtual]

Set/Get the inside pixel values.

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

Set/Get the outside pixel values.

virtual double vtkImageEllipsoidSource::GetOutValue (  )  [virtual]

Set/Get the outside pixel values.

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

Set what type of scalar data this source should generate.

virtual int vtkImageEllipsoidSource::GetOutputScalarType (  )  [virtual]

Set what type of scalar data this source should generate.

void vtkImageEllipsoidSource::SetOutputScalarTypeToFloat (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 75 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToDouble (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 77 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToLong (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 79 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedLong (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 81 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToInt (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 83 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedInt (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 85 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToShort (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 87 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedShort (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 89 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToChar (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 91 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedChar (  )  [inline]

Set what type of scalar data this source should generate.

Definition at line 93 of file vtkImageEllipsoidSource.h.

virtual int vtkImageEllipsoidSource::RequestInformation ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

Reimplemented from vtkImageAlgorithm.

virtual int vtkImageEllipsoidSource::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkImageAlgorithm.


Member Data Documentation

Definition at line 101 of file vtkImageEllipsoidSource.h.

double vtkImageEllipsoidSource::Center[3] [protected]

Definition at line 102 of file vtkImageEllipsoidSource.h.

double vtkImageEllipsoidSource::Radius[3] [protected]

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.


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

Generated on Wed Jun 3 19:09:10 2009 for VTK by  doxygen 1.5.6