Go to the documentation of this file.
30 #ifndef vtkSampleFunction_h
31 #define vtkSampleFunction_h
33 #include "vtkImagingHybridModule.h"
63 vtkSetMacro(OutputScalarType,
int);
64 vtkGetMacro(OutputScalarType,
int);
70 {this->SetOutputScalarType(
VTK_LONG);}
74 {this->SetOutputScalarType(
VTK_INT);}
82 {this->SetOutputScalarType(
VTK_CHAR);}
90 void SetSampleDimensions(
int i,
int j,
int k);
96 void SetSampleDimensions(
int dim[3]);
97 vtkGetVectorMacro(SampleDimensions,
int,3);
105 void SetModelBounds(
const double bounds[6]);
106 void SetModelBounds(
double xMin,
double xMax,
107 double yMin,
double yMax,
108 double zMin,
double zMax);
109 vtkGetVectorMacro(ModelBounds,
double,6);
127 vtkSetMacro(CapValue,
double);
128 vtkGetMacro(CapValue,
double);
145 vtkSetStringMacro(ScalarArrayName);
146 vtkGetStringMacro(ScalarArrayName);
154 vtkSetStringMacro(NormalArrayName);
155 vtkGetStringMacro(NormalArrayName);
184 int SampleDimensions[3];
185 double ModelBounds[6];
void SetOutputScalarTypeToFloat()
#define VTK_UNSIGNED_SHORT
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
void SetOutputScalarTypeToShort()
abstract superclass for arrays of numeric data
Generic algorithm superclass for image algs.
void SetOutputScalarTypeToDouble()
abstract interface for implicit functions
void SetOutputScalarTypeToUnsignedShort()
vtkTypeBool ComputeNormals
void SetOutputScalarTypeToUnsignedLong()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
virtual vtkMTimeType GetMTime()
Return this object's modified time.
sample an implicit function over a structured point set
void SetOutputScalarTypeToUnsignedChar()
a simple class to control print indentation
#define VTK_UNSIGNED_CHAR
void SetOutputScalarTypeToLong()
void SetOutputScalarTypeToInt()
Detect and break reference loops.
#define VTK_UNSIGNED_LONG
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkAlgorithm * New()
void ReportReferences(vtkGarbageCollector *) override
vtkImplicitFunction * ImplicitFunction
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToUnsignedInt()
general representation of visualization data
vtkTypeUInt32 vtkMTimeType