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

vtkImplicitFunctionToImageStencil Class Reference

clip an image with a function. More...

#include <vtkImplicitFunctionToImageStencil.h>

Inheritance diagram for vtkImplicitFunctionToImageStencil:

Inheritance graph
[legend]
Collaboration diagram for vtkImplicitFunctionToImageStencil:

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)
virtual void SetInput (vtkImplicitFunction *)
virtual vtkImplicitFunctionGetInput ()
virtual void SetThreshold (float)
virtual float GetThreshold ()

Static Public Methods

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

Protected Methods

 vtkImplicitFunctionToImageStencil ()
 ~vtkImplicitFunctionToImageStencil ()
void operator= (const vtkImplicitFunctionToImageStencil &)
void ThreadedExecute (vtkImageStencilData *output, int extent[6], int threadId)

Protected Attributes

vtkImplicitFunctionInput
float Threshold

Detailed Description

clip an image with a function.

Date:
2001/12/06 18:43:13
Revision:
1.6
Thanks:
Thanks to David G. Gobbi who developed this class.
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
Tests:
vtkImplicitFunctionToImageStencil (Tests)

Definition at line 64 of file vtkImplicitFunctionToImageStencil.h.


Constructor & Destructor Documentation

vtkImplicitFunctionToImageStencil::vtkImplicitFunctionToImageStencil   [protected]
 

vtkImplicitFunctionToImageStencil::~vtkImplicitFunctionToImageStencil   [protected]
 


Member Function Documentation

vtkImplicitFunctionToImageStencil* vtkImplicitFunctionToImageStencil::New   [static]
 

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

Reimplemented from vtkImageStencilSource.

virtual const char* vtkImplicitFunctionToImageStencil::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 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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkImageStencilSource.

vtkImplicitFunctionToImageStencil* vtkImplicitFunctionToImageStencil::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 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 float    [virtual]
 

Set the threshold value for the implicit function.

virtual float vtkImplicitFunctionToImageStencil::GetThreshold   [virtual]
 

Set the threshold value for the implicit function.

void vtkImplicitFunctionToImageStencil::operator= const vtkImplicitFunctionToImageStencil &    [protected]
 

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.


Member Data Documentation

vtkImplicitFunction* vtkImplicitFunctionToImageStencil::Input [protected]
 

Definition at line 91 of file vtkImplicitFunctionToImageStencil.h.

float vtkImplicitFunctionToImageStencil::Threshold [protected]
 

Definition at line 92 of file vtkImplicitFunctionToImageStencil.h.


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