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

#include <Base/Logic/vtkImageRectangularSource.h>

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

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual int * GetCenter ()
 
virtual void GetCenter (int &, int &, int &)
 
virtual void GetCenter (int [3])
 
virtual const char * GetClassName ()
 
virtual int GetInsideGraySlopeFlag ()
 
virtual float GetInValue ()
 
virtual int GetOutputScalarType ()
 
virtual float GetOutValue ()
 
virtual void GetSize (int [3])
 
virtual void GetSize (int &, int &, int &)
 
virtual int * GetSize ()
 
void GetWholeExtent (int extent[6])
 
int * GetWholeExtent ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual void SetCenter (int, int, int)
 
Set/Get the center of the ellipsoid. More...
 
virtual void SetCenter (int [3])
 
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. More...
 
virtual void SetInsideGraySlopeFlag (int)
 
If the flag is set the inside of the rectangular slowly adjust its intensity from outside to inside More...
 
virtual void SetInValue (float)
 
Set/Get the inside pixel values. More...
 
virtual void SetOutputScalarType (int)
 
Set what type of scalar data this source should generate. More...
 
void SetOutputScalarTypeToChar ()
 
void SetOutputScalarTypeToDouble ()
 
void SetOutputScalarTypeToFloat ()
 
void SetOutputScalarTypeToInt ()
 
void SetOutputScalarTypeToLong ()
 
void SetOutputScalarTypeToShort ()
 
void SetOutputScalarTypeToUnsignedChar ()
 
void SetOutputScalarTypeToUnsignedInt ()
 
void SetOutputScalarTypeToUnsignedLong ()
 
void SetOutputScalarTypeToUnsignedShort ()
 
virtual void SetOutValue (float)
 
Set/Get the outside pixel values. More...
 
virtual void SetSize (int, int, int)
 
Set/Get the radius of the ellipsoid. More...
 
virtual void SetSize (int [3])
 
void SetWholeExtent (int extent[6])
 
Set/Get the extent of the whole output image. More...
 
void SetWholeExtent (int minX, int maxX, int minY, int maxY, int minZ, int maxZ)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkImageRectangularSourceNew ()
 
static vtkImageRectangularSourceSafeDownCast (vtkObject *o)
 

Protected Member Functions

void ExecuteDataWithInformation (vtkDataObject *output, vtkInformation *outInfo) override
 
int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
 
 vtkImageRectangularSource ()
 
 ~vtkImageRectangularSource () override
 

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 14 of file vtkImageRectangularSource.h.

Member Typedef Documentation

◆ Superclass

typedef vtkImageAlgorithm vtkImageRectangularSource::Superclass

Definition at line 18 of file vtkImageRectangularSource.h.

Constructor & Destructor Documentation

◆ vtkImageRectangularSource()

vtkImageRectangularSource::vtkImageRectangularSource ( )
protected

◆ ~vtkImageRectangularSource()

vtkImageRectangularSource::~vtkImageRectangularSource ( )
overrideprotected

Member Function Documentation

◆ ExecuteDataWithInformation()

void vtkImageRectangularSource::ExecuteDataWithInformation ( vtkDataObject *  output,
vtkInformation *  outInfo 
)
overrideprotected

◆ GetCenter() [1/3]

virtual int* vtkImageRectangularSource::GetCenter ( )
virtual

◆ GetCenter() [2/3]

virtual void vtkImageRectangularSource::GetCenter ( int &  ,
int &  ,
int &   
)
virtual

◆ GetCenter() [3/3]

virtual void vtkImageRectangularSource::GetCenter ( int  [3])
virtual

◆ GetClassName()

virtual const char* vtkImageRectangularSource::GetClassName ( )
virtual

◆ GetInsideGraySlopeFlag()

virtual int vtkImageRectangularSource::GetInsideGraySlopeFlag ( )
virtual

◆ GetInValue()

virtual float vtkImageRectangularSource::GetInValue ( )
virtual

◆ GetOutputScalarType()

virtual int vtkImageRectangularSource::GetOutputScalarType ( )
virtual

◆ GetOutValue()

virtual float vtkImageRectangularSource::GetOutValue ( )
virtual

◆ GetSize() [1/3]

virtual void vtkImageRectangularSource::GetSize ( int &  ,
int &  ,
int &   
)
virtual

◆ GetSize() [2/3]

virtual int* vtkImageRectangularSource::GetSize ( )
virtual

◆ GetSize() [3/3]

virtual void vtkImageRectangularSource::GetSize ( int  [3])
virtual

◆ GetWholeExtent() [1/2]

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

◆ GetWholeExtent() [2/2]

int* vtkImageRectangularSource::GetWholeExtent ( )
inline

Definition at line 27 of file vtkImageRectangularSource.h.

◆ IsA()

virtual int vtkImageRectangularSource::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkImageRectangularSource::IsTypeOf ( const char *  type)
static

◆ New()

static vtkImageRectangularSource* vtkImageRectangularSource::New ( )
static

◆ PrintSelf()

void vtkImageRectangularSource::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RequestInformation()

int vtkImageRectangularSource::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
overrideprotected

◆ SafeDownCast()

static vtkImageRectangularSource* vtkImageRectangularSource::SafeDownCast ( vtkObject *  o)
static

◆ SetCenter() [1/2]

virtual void vtkImageRectangularSource::SetCenter ( int  ,
int  ,
int   
)
virtual


Set/Get the center of the ellipsoid.

◆ SetCenter() [2/2]

virtual void vtkImageRectangularSource::SetCenter ( int  [3])
virtual

◆ SetCorners()

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.

◆ SetInsideGraySlopeFlag()

virtual void vtkImageRectangularSource::SetInsideGraySlopeFlag ( int  )
virtual


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

◆ SetInValue()

virtual void vtkImageRectangularSource::SetInValue ( float  )
virtual


Set/Get the inside pixel values.

◆ SetOutputScalarType()

virtual void vtkImageRectangularSource::SetOutputScalarType ( int  )
virtual


Set what type of scalar data this source should generate.

◆ SetOutputScalarTypeToChar()

void vtkImageRectangularSource::SetOutputScalarTypeToChar ( )
inline

Definition at line 74 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToDouble()

void vtkImageRectangularSource::SetOutputScalarTypeToDouble ( )
inline

Definition at line 58 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToFloat()

void vtkImageRectangularSource::SetOutputScalarTypeToFloat ( )
inline

Definition at line 60 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToInt()

void vtkImageRectangularSource::SetOutputScalarTypeToInt ( )
inline

Definition at line 66 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToLong()

void vtkImageRectangularSource::SetOutputScalarTypeToLong ( )
inline

Definition at line 62 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToShort()

void vtkImageRectangularSource::SetOutputScalarTypeToShort ( )
inline

Definition at line 70 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToUnsignedChar()

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedChar ( )
inline

Definition at line 76 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToUnsignedInt()

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedInt ( )
inline

Definition at line 68 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToUnsignedLong()

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedLong ( )
inline

Definition at line 64 of file vtkImageRectangularSource.h.

◆ SetOutputScalarTypeToUnsignedShort()

void vtkImageRectangularSource::SetOutputScalarTypeToUnsignedShort ( )
inline

Definition at line 72 of file vtkImageRectangularSource.h.

◆ SetOutValue()

virtual void vtkImageRectangularSource::SetOutValue ( float  )
virtual


Set/Get the outside pixel values.

◆ SetSize() [1/2]

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


Set/Get the radius of the ellipsoid.

◆ SetSize() [2/2]

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

◆ SetWholeExtent() [1/2]

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


Set/Get the extent of the whole output image.

◆ SetWholeExtent() [2/2]

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

Member Data Documentation

◆ Center

int vtkImageRectangularSource::Center[3]
protected

Definition at line 89 of file vtkImageRectangularSource.h.

◆ Corners

int** vtkImageRectangularSource::Corners
protected

Definition at line 86 of file vtkImageRectangularSource.h.

◆ InsideGraySlopeFlag

int vtkImageRectangularSource::InsideGraySlopeFlag
protected

Definition at line 94 of file vtkImageRectangularSource.h.

◆ InValue

float vtkImageRectangularSource::InValue
protected

Definition at line 91 of file vtkImageRectangularSource.h.

◆ OutputScalarType

int vtkImageRectangularSource::OutputScalarType
protected

Definition at line 93 of file vtkImageRectangularSource.h.

◆ OutValue

float vtkImageRectangularSource::OutValue
protected

Definition at line 92 of file vtkImageRectangularSource.h.

◆ Size

int vtkImageRectangularSource::Size[3]
protected

Definition at line 90 of file vtkImageRectangularSource.h.

◆ WholeExtent

int vtkImageRectangularSource::WholeExtent[6]
protected

Definition at line 88 of file vtkImageRectangularSource.h.


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