Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkImplicitFunctionToImageStencil Class Reference

#include <vtkImplicitFunctionToImageStencil.h>

Inheritance diagram for vtkImplicitFunctionToImageStencil:

Inheritance graph
[legend]
Collaboration diagram for vtkImplicitFunctionToImageStencil:

Collaboration graph
[legend]
List of all members.

Detailed Description

clip an image with a function

vtkImplicitFunctionToImageStencil will convert a vtkImplicitFunction into a stencil that can be used with vtkImageStencil or with other classes that apply a stencil to an image.

See also:
vtkImplicitFunction vtkImageStencil vtkPolyDataToImageStencil
Created by:
  • Gobbi, David
CVS contributions (if > 5%):
  • Gobbi, David (69%)
  • Martin, Ken (13%)
  • Schroeder, Will (7%)
  • Cedilnik, Andy (7%)
CVS logs (CVSweb):
  • .cxx (/Imaging/vtkImplicitFunctionToImageStencil.cxx)
  • .h (/Imaging/vtkImplicitFunctionToImageStencil.h)
Tests:
vtkImplicitFunctionToImageStencil (Tests)

Definition at line 49 of file vtkImplicitFunctionToImageStencil.h.

Public Types

typedef vtkImageStencilSource Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInput (vtkImplicitFunction *)
virtual vtkImplicitFunctionGetInput ()
virtual void SetThreshold (double)
virtual double GetThreshold ()

Static Public Member Functions

vtkImplicitFunctionToImageStencilNew ()
int IsTypeOf (const char *type)
vtkImplicitFunctionToImageStencilSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkImplicitFunctionToImageStencil ()
 ~vtkImplicitFunctionToImageStencil ()
void ThreadedExecute (vtkImageStencilData *output, int extent[6], int threadId)
void ExecuteInformation ()

Protected Attributes

vtkImplicitFunctionInput
double Threshold


Member Typedef Documentation

typedef vtkImageStencilSource vtkImplicitFunctionToImageStencil::Superclass
 

Reimplemented from vtkImageStencilSource.

Definition at line 53 of file vtkImplicitFunctionToImageStencil.h.


Constructor & Destructor Documentation

vtkImplicitFunctionToImageStencil::vtkImplicitFunctionToImageStencil  )  [protected]
 

vtkImplicitFunctionToImageStencil::~vtkImplicitFunctionToImageStencil  )  [protected]
 


Member Function Documentation

vtkImplicitFunctionToImageStencil* vtkImplicitFunctionToImageStencil::New  )  [static]
 

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

Reimplemented from vtkImageStencilSource.

virtual const char* vtkImplicitFunctionToImageStencil::GetClassName  )  [virtual]
 

Reimplemented from vtkImageStencilSource.

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

Reimplemented from vtkImageStencilSource.

virtual int vtkImplicitFunctionToImageStencil::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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkImageStencilSource.

vtkImplicitFunctionToImageStencil* vtkImplicitFunctionToImageStencil::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkImageStencilSource.

void vtkImplicitFunctionToImageStencil::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 vtkImageStencilSource.

virtual void vtkImplicitFunctionToImageStencil::SetInput vtkImplicitFunction  )  [virtual]
 

Specify the implicit function to convert into a stencil.

virtual vtkImplicitFunction* vtkImplicitFunctionToImageStencil::GetInput  )  [virtual]
 

Specify the implicit function to convert into a stencil.

virtual void vtkImplicitFunctionToImageStencil::SetThreshold double   )  [virtual]
 

Set the threshold value for the implicit function.

virtual double vtkImplicitFunctionToImageStencil::GetThreshold  )  [virtual]
 

Set the threshold value for the implicit function.

void vtkImplicitFunctionToImageStencil::ThreadedExecute vtkImageStencilData output,
int  extent[6],
int  threadId
[protected, virtual]
 

Override this method to support clipping with different kinds of objects. Eventually the extent could be split up and handled by multiple threads, but it isn't for now. But please ensure that all code inside this method is thread-safe.

Reimplemented from vtkImageStencilSource.

void vtkImplicitFunctionToImageStencil::ExecuteInformation  )  [protected, virtual]
 

Reimplemented from vtkSource.


Member Data Documentation

vtkImplicitFunction* vtkImplicitFunctionToImageStencil::Input [protected]
 

Definition at line 77 of file vtkImplicitFunctionToImageStencil.h.

double vtkImplicitFunctionToImageStencil::Threshold [protected]
 

Definition at line 78 of file vtkImplicitFunctionToImageStencil.h.


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