Slicer 4.2
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkImageRectangularSource Class Reference

#include <Base/Logic/vtkImageRectangularSource.h>

List of all members.

Public Member Functions

virtual int * GetCenter ()
virtual void GetCenter (int &, int &, int &)
virtual void GetCenter (int[3])
virtual int GetInsideGraySlopeFlag ()
virtual float GetInValue ()
virtual int GetOutputScalarType ()
virtual float GetOutValue ()
virtual void GetSize (int[3])
virtual int * GetSize ()
virtual void GetSize (int &, int &, int &)
void GetWholeExtent (int extent[6])
int * GetWholeExtent ()
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetCenter (int[3])
virtual void SetCenter (int, int, int)
void SetCorners (int x1, int y1, int x2, int y2, int x3, int y3, int x4, int y4)
 If you do no want to define a rectangular with edges of 90 degree.
virtual void SetInsideGraySlopeFlag (int)
virtual void SetInValue (float)
virtual void SetOutputScalarType (int)
void SetOutputScalarTypeToChar ()
void SetOutputScalarTypeToDouble ()
void SetOutputScalarTypeToFloat ()
void SetOutputScalarTypeToInt ()
void SetOutputScalarTypeToLong ()
void SetOutputScalarTypeToShort ()
void SetOutputScalarTypeToUnsignedChar ()
void SetOutputScalarTypeToUnsignedInt ()
void SetOutputScalarTypeToUnsignedLong ()
void SetOutputScalarTypeToUnsignedShort ()
virtual void SetOutValue (float)
virtual void SetSize (int, int, int)
virtual void SetSize (int[3])
void SetWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
void SetWholeExtent (int extent[6])
 vtkTypeRevisionMacro (vtkImageRectangularSource, vtkImageSource)

Static Public Member Functions

static vtkImageRectangularSourceNew ()

Protected Member Functions

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

Protected Attributes

int Center [3]
int ** Corners
int InsideGraySlopeFlag
float InValue
int OutputScalarType
float OutValue
int Size [3]
int WholeExtent [6]

Detailed Description

vtkImageRectangularSource - Create a binary image of an rectangular.

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

Definition at line 13 of file vtkImageRectangularSource.h.


Constructor & Destructor Documentation

vtkImageRectangularSource::vtkImageRectangularSource ( ) [protected]
vtkImageRectangularSource::~vtkImageRectangularSource ( ) [protected]

Member Function Documentation

virtual void vtkImageRectangularSource::ExecuteData ( vtkDataObject *  outData) [protected, virtual]
virtual void vtkImageRectangularSource::ExecuteInformation ( ) [protected, virtual]
virtual int* vtkImageRectangularSource::GetCenter ( ) [virtual]
virtual void vtkImageRectangularSource::GetCenter ( int &  ,
int &  ,
int &   
) [virtual]
virtual void vtkImageRectangularSource::GetCenter ( int  [3]) [virtual]
virtual int vtkImageRectangularSource::GetInsideGraySlopeFlag ( ) [virtual]
virtual float vtkImageRectangularSource::GetInValue ( ) [virtual]
virtual int vtkImageRectangularSource::GetOutputScalarType ( ) [virtual]
virtual float vtkImageRectangularSource::GetOutValue ( ) [virtual]
virtual void vtkImageRectangularSource::GetSize ( int  [3]) [virtual]
virtual void vtkImageRectangularSource::GetSize ( int &  ,
int &  ,
int &   
) [virtual]
virtual int* vtkImageRectangularSource::GetSize ( ) [virtual]
void vtkImageRectangularSource::GetWholeExtent ( int  extent[6])
int* vtkImageRectangularSource::GetWholeExtent ( ) [inline]

Definition at line 26 of file vtkImageRectangularSource.h.

static vtkImageRectangularSource* vtkImageRectangularSource::New ( ) [static]
void vtkImageRectangularSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkImageRectangularSource::SetCenter ( int  [3]) [virtual]
virtual void vtkImageRectangularSource::SetCenter ( int  ,
int  ,
int   
) [virtual]

Set/Get the center of the ellipsoid.

void vtkImageRectangularSource::SetCorners ( int  x1,
int  y1,
int  x2,
int  y2,
int  x3,
int  y3,
int  x4,
int  y4 
)

If you do no want to define a rectangular with edges of 90 degree.

virtual void vtkImageRectangularSource::SetInsideGraySlopeFlag ( int  ) [virtual]

If the flag is set the inside of the rectangular slowly adjust its intensity from outside to inside

virtual void vtkImageRectangularSource::SetInValue ( float  ) [virtual]

Set/Get the inside pixel values.

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

Set what type of scalar data this source should generate.

void vtkImageRectangularSource::SetOutputScalarTypeToChar ( ) [inline]

Definition at line 73 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToDouble ( ) [inline]

Definition at line 57 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToFloat ( ) [inline]

Definition at line 59 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToInt ( ) [inline]

Definition at line 65 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToLong ( ) [inline]

Definition at line 61 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToShort ( ) [inline]

Definition at line 69 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedChar ( ) [inline]

Definition at line 75 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedInt ( ) [inline]

Definition at line 67 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedLong ( ) [inline]

Definition at line 63 of file vtkImageRectangularSource.h.

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedShort ( ) [inline]

Definition at line 71 of file vtkImageRectangularSource.h.

virtual void vtkImageRectangularSource::SetOutValue ( float  ) [virtual]

Set/Get the outside pixel values.

virtual void vtkImageRectangularSource::SetSize ( int  ,
int  ,
int   
) [virtual]

Set/Get the radius of the ellipsoid.

virtual void vtkImageRectangularSource::SetSize ( int  [3]) [virtual]
void vtkImageRectangularSource::SetWholeExtent ( int  minX,
int  maxX,
int  minY,
int  maxY,
int  minZ,
int  maxZ 
)
void vtkImageRectangularSource::SetWholeExtent ( int  extent[6])

Set/Get the extent of the whole output image.

vtkImageRectangularSource::vtkTypeRevisionMacro ( vtkImageRectangularSource  ,
vtkImageSource   
)

Member Data Documentation

Definition at line 88 of file vtkImageRectangularSource.h.

Definition at line 85 of file vtkImageRectangularSource.h.

Definition at line 93 of file vtkImageRectangularSource.h.

Definition at line 90 of file vtkImageRectangularSource.h.

Definition at line 92 of file vtkImageRectangularSource.h.

Definition at line 91 of file vtkImageRectangularSource.h.

int vtkImageRectangularSource::Size[3] [protected]

Definition at line 89 of file vtkImageRectangularSource.h.

Definition at line 87 of file vtkImageRectangularSource.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines