vtkSampleFunction Class Reference
#include <vtkSampleFunction.h>
Inheritance diagram for vtkSampleFunction:
[legend]Collaboration diagram for vtkSampleFunction:
[legend]List of all members.
Detailed Description
sample an implicit function over a structured point set
vtkSampleFunction is a source object that evaluates an implicit function and normals at each point in a vtkStructuredPoints. The user can specify the sample dimensions and location in space to perform the sampling. To create closed surfaces (in conjunction with the vtkContourFilter), capping can be turned on to set a particular value on the boundaries of the sample space.
- See also:
- vtkImplicitModeller
- Created by:
-
- CVS contributions (if > 5%):
- Schroeder, Will (46%)
- Martin, Ken (31%)
- Lorensen, Bill (6%)
- CVS logs (CVSweb):
.cxx (/Imaging/vtkSampleFunction
.cxx)
.h (/Imaging/vtkSampleFunction
.h)
- Examples:
- vtkSampleFunction (Examples)
- Tests:
- vtkSampleFunction (Tests)
Definition at line 55 of file vtkSampleFunction.h.
Member Typedef Documentation
Constructor & Destructor Documentation
vtkSampleFunction::vtkSampleFunction |
( |
|
) |
[protected] |
|
Member Function Documentation
virtual const char* vtkSampleFunction::GetClassName |
( |
|
) |
[virtual] |
|
int vtkSampleFunction::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 vtkImageSource. |
virtual int vtkSampleFunction::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 vtkImageSource. |
void vtkSampleFunction::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 vtkImageSource. |
|
Construct with ModelBounds=(-1,1,-1,1,-1,1), SampleDimensions=(50,50,50), Capping turned off, and normal generation on.
Reimplemented from vtkAlgorithm. |
|
Specify the implicit function to use to generate data. |
|
Specify the implicit function to use to generate data. |
virtual void vtkSampleFunction::SetOutputScalarType |
( |
int |
|
) |
[virtual] |
|
|
Set what type of scalar data this source should generate. |
virtual int vtkSampleFunction::GetOutputScalarType |
( |
|
) |
[virtual] |
|
|
Set what type of scalar data this source should generate. |
void vtkSampleFunction::SetOutputScalarTypeToDouble |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToFloat |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToLong |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToUnsignedLong |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToInt |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToUnsignedInt |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToShort |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToUnsignedShort |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToChar |
( |
|
) |
[inline] |
|
void vtkSampleFunction::SetOutputScalarTypeToUnsignedChar |
( |
|
) |
[inline] |
|
virtual void vtkSampleFunction::SetScalars |
( |
vtkDataArray * |
da |
) |
[virtual] |
|
|
Control the type of the scalars object by explicitly providing a scalar object. THIS IS DEPRECATED, although it still works!!! Please use SetOutputScalarType instead. |
void vtkSampleFunction::SetSampleDimensions |
( |
int |
i, |
|
|
int |
j, |
|
|
int |
k |
|
) |
|
|
|
Specify the dimensions of the data on which to sample. |
void vtkSampleFunction::SetSampleDimensions |
( |
int |
dim[3] |
) |
|
|
|
Specify the dimensions of the data on which to sample. |
virtual int* vtkSampleFunction::GetSampleDimensions |
( |
|
) |
[virtual] |
|
|
Specify the dimensions of the data on which to sample. |
virtual void vtkSampleFunction::GetSampleDimensions |
( |
int |
data[3] |
) |
[virtual] |
|
|
Specify the dimensions of the data on which to sample. |
virtual void vtkSampleFunction::SetModelBounds |
( |
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
, |
|
|
double |
|
|
) |
[virtual] |
|
|
Specify the region in space over which the sampling occurs. The bounds is specified as (xMin,xMax, yMin,yMax, zMin,zMax). |
virtual void vtkSampleFunction::SetModelBounds |
( |
double |
[6] |
) |
[virtual] |
|
|
Specify the region in space over which the sampling occurs. The bounds is specified as (xMin,xMax, yMin,yMax, zMin,zMax). |
virtual double* vtkSampleFunction::GetModelBounds |
( |
|
) |
[virtual] |
|
|
Specify the region in space over which the sampling occurs. The bounds is specified as (xMin,xMax, yMin,yMax, zMin,zMax). |
virtual void vtkSampleFunction::GetModelBounds |
( |
double |
data[6] |
) |
[virtual] |
|
|
Specify the region in space over which the sampling occurs. The bounds is specified as (xMin,xMax, yMin,yMax, zMin,zMax). |
virtual void vtkSampleFunction::SetCapping |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off capping. If capping is on, then the outer boundaries of the structured point set are set to cap value. This can be used to insure surfaces are closed. |
virtual int vtkSampleFunction::GetCapping |
( |
|
) |
[virtual] |
|
|
Turn on/off capping. If capping is on, then the outer boundaries of the structured point set are set to cap value. This can be used to insure surfaces are closed. |
virtual void vtkSampleFunction::CappingOn |
( |
|
) |
[virtual] |
|
|
Turn on/off capping. If capping is on, then the outer boundaries of the structured point set are set to cap value. This can be used to insure surfaces are closed. |
virtual void vtkSampleFunction::CappingOff |
( |
|
) |
[virtual] |
|
|
Turn on/off capping. If capping is on, then the outer boundaries of the structured point set are set to cap value. This can be used to insure surfaces are closed. |
virtual void vtkSampleFunction::SetCapValue |
( |
double |
|
) |
[virtual] |
|
virtual double vtkSampleFunction::GetCapValue |
( |
|
) |
[virtual] |
|
virtual void vtkSampleFunction::SetComputeNormals |
( |
int |
|
) |
[virtual] |
|
|
Turn on/off the computation of normals. |
virtual int vtkSampleFunction::GetComputeNormals |
( |
|
) |
[virtual] |
|
|
Turn on/off the computation of normals. |
virtual void vtkSampleFunction::ComputeNormalsOn |
( |
|
) |
[virtual] |
|
|
Turn on/off the computation of normals. |
virtual void vtkSampleFunction::ComputeNormalsOff |
( |
|
) |
[virtual] |
|
|
Turn on/off the computation of normals. |
unsigned long vtkSampleFunction::GetMTime |
( |
|
) |
[virtual] |
|
|
Return the MTime also considering the implicit function.
Reimplemented from vtkObject. |
virtual void vtkSampleFunction::ReportReferences |
( |
vtkGarbageCollector * |
|
) |
[protected, virtual] |
|
virtual void vtkSampleFunction::RemoveReferences |
( |
|
) |
[protected, virtual] |
|
void vtkSampleFunction::ExecuteData |
( |
vtkDataObject * |
|
) |
[protected, virtual] |
|
|
This method is the one that should be used by subclasses, right now the default implementation is to call the backwards compatibility method
Reimplemented from vtkSource. |
void vtkSampleFunction::ExecuteInformation |
( |
|
) |
[protected, virtual] |
|
void vtkSampleFunction::Cap |
( |
vtkDataArray * |
s |
) |
[protected] |
|
Member Data Documentation
The documentation for this class was generated from the following file: