#include <vtkSampleFunction.h>
Inheritance diagram for vtkSampleFunction:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSampleDimensions (int i, int j, int k) |
unsigned long | GetMTime () |
virtual void | SetImplicitFunction (vtkImplicitFunction *) |
virtual vtkImplicitFunction * | GetImplicitFunction () |
virtual void | SetScalars (vtkDataArray *) |
void | SetSampleDimensions (int dim[3]) |
virtual int * | GetSampleDimensions () |
virtual void | GetSampleDimensions (int data[3]) |
virtual void | SetModelBounds (float, float, float, float, float, float) |
virtual void | SetModelBounds (float[6]) |
virtual float * | GetModelBounds () |
virtual void | GetModelBounds (float data[6]) |
virtual void | SetCapping (int) |
virtual int | GetCapping () |
virtual void | CappingOn () |
virtual void | CappingOff () |
virtual void | SetCapValue (float) |
virtual float | GetCapValue () |
virtual void | SetComputeNormals (int) |
virtual int | GetComputeNormals () |
virtual void | ComputeNormalsOn () |
virtual void | ComputeNormalsOff () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkSampleFunction * | SafeDownCast (vtkObject *o) |
vtkSampleFunction * | New () |
Protected Methods | |
vtkSampleFunction () | |
~vtkSampleFunction () | |
void | Execute () |
void | ExecuteInformation () |
void | Cap (vtkDataArray *s) |
Protected Attributes | |
int | SampleDimensions [3] |
float | ModelBounds [6] |
vtkDataArray * | Scalars |
int | Capping |
float | CapValue |
vtkImplicitFunction * | ImplicitFunction |
int | ComputeNormals |
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.
Definition at line 69 of file vtkSampleFunction.h.
|
|
|
|
|
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 vtkStructuredPointsSource. |
|
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 vtkStructuredPointsSource. |
|
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 vtkStructuredPointsSource. |
|
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 vtkStructuredPointsSource. |
|
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 vtkSource. |
|
Construct with ModelBounds=(-1,1,-1,1,-1,1), SampleDimensions=(50,50,50), Capping turned off, and normal generation on. Reimplemented from vtkStructuredPointsSource. |
|
Specify the implicit function to use to generate data. |
|
Specify the implicit function to use to generate data. |
|
Control the type of the scalars object by explicitly providing a scalar object. vtkSampleFunction() will allocate space (as necessary) in the scalar object. |
|
Specify the dimensions of the data on which to sample. |
|
Specify the dimensions of the data on which to sample. |
|
Specify the dimensions of the data on which to sample. |
|
Specify the dimensions of the data on which to sample. |
|
Specify the region in space over which the sampling occurs. |
|
Specify the region in space over which the sampling occurs. |
|
Specify the region in space over which the sampling occurs. |
|
Specify the region in space over which the sampling occurs. |
|
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. |
|
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. |
|
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. |
|
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. |
|
Set the cap value. |
|
Set the cap value. |
|
Turn on/off the computation of normals. |
|
Turn on/off the computation of normals. |
|
Turn on/off the computation of normals. |
|
Turn on/off the computation of normals. |
|
Return the MTime also considering the implicit function. Reimplemented from vtkObject. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
Reimplemented from vtkStructuredPointsSource. |
|
|
|
Definition at line 141 of file vtkSampleFunction.h. |
|
Definition at line 142 of file vtkSampleFunction.h. |
|
Definition at line 143 of file vtkSampleFunction.h. |
|
Definition at line 144 of file vtkSampleFunction.h. |
|
Definition at line 145 of file vtkSampleFunction.h. |
|
Definition at line 146 of file vtkSampleFunction.h. |
|
Definition at line 147 of file vtkSampleFunction.h. |