VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkImageStencilToImage Class Reference

Convert an image stencil into an image. More...

#include <vtkImageStencilToImage.h>

Inherits vtkImageAlgorithm.

Public Types

typedef vtkImageAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkImageStencilToImageNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
virtual void SetOutsideValue (double)
 
virtual double GetOutsideValue ()
 
virtual void SetInsideValue (double)
 
virtual double GetInsideValue ()
 
virtual void SetOutputScalarType (int)
 
virtual int GetOutputScalarType ()
 
void SetOutputScalarTypeToFloat ()
 
void SetOutputScalarTypeToDouble ()
 
void SetOutputScalarTypeToInt ()
 
void SetOutputScalarTypeToUnsignedInt ()
 
void SetOutputScalarTypeToLong ()
 
void SetOutputScalarTypeToUnsignedLong ()
 
void SetOutputScalarTypeToShort ()
 
void SetOutputScalarTypeToUnsignedShort ()
 
void SetOutputScalarTypeToUnsignedChar ()
 
void SetOutputScalarTypeToChar ()
 

Static Public Member Functions

static vtkImageStencilToImageNew ()
 
static int IsTypeOf (const char *type)
 
static vtkImageStencilToImageSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkImageStencilToImage ()
 
 ~vtkImageStencilToImage ()
 
virtual int RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
virtual int FillInputPortInformation (int, vtkInformation *)
 

Protected Attributes

double OutsideValue
 
double InsideValue
 
int OutputScalarType
 

Detailed Description

Convert an image stencil into an image.

vtkImageStencilToImage will convert an image stencil into a binary image. The default output will be an 8-bit image with a value of 1 inside the stencil and 0 outside. When used in combination with vtkPolyDataToImageStencil or vtkImplicitFunctionToImageStencil, this can be used to create a binary image from a mesh or a function.

See Also
vtkImplicitModeller
Tests:
vtkImageStencilToImage (Tests)

Definition at line 36 of file vtkImageStencilToImage.h.

Member Typedef Documentation

typedef vtkImageAlgorithm vtkImageStencilToImage::Superclass

Definition at line 40 of file vtkImageStencilToImage.h.

Constructor & Destructor Documentation

vtkImageStencilToImage::vtkImageStencilToImage ( )
protected
vtkImageStencilToImage::~vtkImageStencilToImage ( )
protected

Member Function Documentation

static vtkImageStencilToImage* vtkImageStencilToImage::New ( )
static
static int vtkImageStencilToImage::IsTypeOf ( const char *  type)
static
virtual int vtkImageStencilToImage::IsA ( const char *  type)
virtual
static vtkImageStencilToImage* vtkImageStencilToImage::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkImageStencilToImage::NewInstanceInternal ( ) const
protectedvirtual
vtkImageStencilToImage* vtkImageStencilToImage::NewInstance ( ) const
void vtkImageStencilToImage::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual void vtkImageStencilToImage::SetOutsideValue ( double  )
virtual

The value to use outside the stencil. The default is 0.

virtual double vtkImageStencilToImage::GetOutsideValue ( )
virtual

The value to use outside the stencil. The default is 0.

virtual void vtkImageStencilToImage::SetInsideValue ( double  )
virtual

The value to use inside the stencil. The default is 1.

virtual double vtkImageStencilToImage::GetInsideValue ( )
virtual

The value to use inside the stencil. The default is 1.

virtual void vtkImageStencilToImage::SetOutputScalarType ( int  )
virtual

The desired output scalar type. The default is unsigned char.

virtual int vtkImageStencilToImage::GetOutputScalarType ( )
virtual

The desired output scalar type. The default is unsigned char.

void vtkImageStencilToImage::SetOutputScalarTypeToFloat ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 59 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToDouble ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 60 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToInt ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 61 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedInt ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 62 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToLong ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 64 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedLong ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 65 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToShort ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 67 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedShort ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 68 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToUnsignedChar ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 70 of file vtkImageStencilToImage.h.

void vtkImageStencilToImage::SetOutputScalarTypeToChar ( )
inline

The desired output scalar type. The default is unsigned char.

Definition at line 72 of file vtkImageStencilToImage.h.

virtual int vtkImageStencilToImage::RequestInformation ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkImageStencilToImage::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual
virtual int vtkImageStencilToImage::FillInputPortInformation ( int  ,
vtkInformation *   
)
protectedvirtual

Member Data Documentation

double vtkImageStencilToImage::OutsideValue
protected

Definition at line 88 of file vtkImageStencilToImage.h.

double vtkImageStencilToImage::InsideValue
protected

Definition at line 89 of file vtkImageStencilToImage.h.

int vtkImageStencilToImage::OutputScalarType
protected

Definition at line 90 of file vtkImageStencilToImage.h.


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