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

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 Methods

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 (float, float, float)
virtual void SetCenter (float[3])
virtual float * GetCenter ()
virtual void GetCenter (float &, float &, float &)
virtual void GetCenter (float[3])
virtual void SetRadius (float, float, float)
virtual void SetRadius (float[3])
virtual float * GetRadius ()
virtual void GetRadius (float &, float &, float &)
virtual void GetRadius (float[3])
virtual void SetInValue (float)
virtual float GetInValue ()
virtual void SetOutValue (float)
virtual float GetOutValue ()
virtual void SetOutputScalarType (int)
virtual int GetOutputScalarType ()
void SetOutputScalarTypeToDouble ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToLong ()
void SetOutputScalarTypeToUnsignedLong ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToUnsignedInt ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedShort ()
void SetOutputScalarTypeToChar ()
void SetOutputScalarTypeToUnsignedChar ()

Static Public Methods

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

Protected Methods

 vtkImageEllipsoidSource ()
 ~vtkImageEllipsoidSource ()
virtual void ExecuteInformation ()
virtual void ExecuteData (vtkDataObject *outData)

Protected Attributes

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

Detailed Description

Create a binary image of an ellipsoid.

Date:
2001/11/13 14:32:33
Revision:
1.23
Thanks:
Thanks to C. Charles Law who developed this class.
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 60 of file vtkImageEllipsoidSource.h.


Constructor & Destructor Documentation

vtkImageEllipsoidSource::vtkImageEllipsoidSource   [protected]
 

vtkImageEllipsoidSource::~vtkImageEllipsoidSource   [protected]
 


Member Function Documentation

vtkImageEllipsoidSource* vtkImageEllipsoidSource::New   [static]
 

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

Reimplemented from vtkImageSource.

virtual const char* vtkImageEllipsoidSource::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.

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

virtual int vtkImageEllipsoidSource::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.

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

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

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

virtual void vtkImageEllipsoidSource::SetCenter float   ,
float   ,
float   
[virtual]
 

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetCenter float   [3] [virtual]
 

Set/Get the center of the ellipsoid.

virtual float* vtkImageEllipsoidSource::GetCenter   [virtual]
 

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetCenter float &   ,
float &   ,
float &   
[virtual]
 

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetCenter float   [3] [virtual]
 

Set/Get the center of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetRadius float   ,
float   ,
float   
[virtual]
 

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetRadius float   [3] [virtual]
 

Set/Get the radius of the ellipsoid.

virtual float* vtkImageEllipsoidSource::GetRadius   [virtual]
 

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetRadius float &   ,
float &   ,
float &   
[virtual]
 

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::GetRadius float   [3] [virtual]
 

Set/Get the radius of the ellipsoid.

virtual void vtkImageEllipsoidSource::SetInValue float    [virtual]
 

Set/Get the inside pixel values.

virtual float vtkImageEllipsoidSource::GetInValue   [virtual]
 

Set/Get the inside pixel values.

virtual void vtkImageEllipsoidSource::SetOutValue float    [virtual]
 

Set/Get the outside pixel values.

virtual float 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::SetOutputScalarTypeToDouble   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 104 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToFloat   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 106 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToLong   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 108 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedLong   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 110 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToInt   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 112 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedInt   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 114 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToShort   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 116 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedShort   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 118 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToChar   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 120 of file vtkImageEllipsoidSource.h.

void vtkImageEllipsoidSource::SetOutputScalarTypeToUnsignedChar   [inline]
 

Set what type of scalar data this source should generate.

Definition at line 122 of file vtkImageEllipsoidSource.h.

virtual void vtkImageEllipsoidSource::ExecuteInformation   [protected, virtual]
 

Reimplemented from vtkSource.

virtual void vtkImageEllipsoidSource::ExecuteData vtkDataObject   outData [protected, virtual]
 


Member Data Documentation

int vtkImageEllipsoidSource::WholeExtent[6] [protected]
 

Definition at line 130 of file vtkImageEllipsoidSource.h.

float vtkImageEllipsoidSource::Center[3] [protected]
 

Definition at line 131 of file vtkImageEllipsoidSource.h.

float vtkImageEllipsoidSource::Radius[3] [protected]
 

Definition at line 132 of file vtkImageEllipsoidSource.h.

float vtkImageEllipsoidSource::InValue [protected]
 

Definition at line 133 of file vtkImageEllipsoidSource.h.

float vtkImageEllipsoidSource::OutValue [protected]
 

Definition at line 134 of file vtkImageEllipsoidSource.h.

int vtkImageEllipsoidSource::OutputScalarType [protected]
 

Definition at line 135 of file vtkImageEllipsoidSource.h.


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:30:27 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001