36 #ifndef vtkSampleFunction_h 37 #define vtkSampleFunction_h 39 #include "vtkImagingHybridModule.h" 70 vtkGetMacro(OutputScalarType,
int);
76 {this->SetOutputScalarType(
VTK_LONG);}
80 {this->SetOutputScalarType(
VTK_INT);}
88 {this->SetOutputScalarType(
VTK_CHAR);}
96 void SetSampleDimensions(
int i,
int j,
int k);
102 void SetSampleDimensions(
int dim[3]);
103 vtkGetVectorMacro(SampleDimensions,
int,3);
111 void SetModelBounds(
const double bounds[6]);
112 void SetModelBounds(
double xMin,
double xMax,
113 double yMin,
double yMax,
114 double zMin,
double zMax);
115 vtkGetVectorMacro(ModelBounds,
double,6);
125 vtkGetMacro(Capping,
int);
134 vtkGetMacro(CapValue,
double);
142 vtkGetMacro(ComputeNormals,
int);
151 vtkSetStringMacro(ScalarArrayName);
160 vtkSetStringMacro(NormalArrayName);
190 int SampleDimensions[3];
191 double ModelBounds[6];
abstract interface for implicit functions
sample an implicit function over a structured point set
#define VTK_UNSIGNED_SHORT
void ReportReferences(vtkGarbageCollector *) override
virtual void ExecuteDataWithInformation(vtkDataObject *output, vtkInformation *outInfo)
This is a convenience method that is implemented in many subclasses instead of RequestData.
vtkTypeUInt64 vtkMTimeType
Detect and break reference loops.
void SetOutputScalarTypeToShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedShort()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToDouble()
Set what type of scalar data this source should generate.
a simple class to control print indentation
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
Subclasses can reimplement this method to collect information from their inputs and set information f...
abstract superclass for arrays of numeric data
virtual vtkMTimeType GetMTime()
Return this object's modified time.
void SetOutputScalarTypeToLong()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToInt()
Set what type of scalar data this source should generate.
vtkGetStringMacro(ExtensionsString)
Returns a string listing all available extensions.
void SetOutputScalarTypeToUnsignedLong()
Set what type of scalar data this source should generate.
vtkImplicitFunction * ImplicitFunction
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToUnsignedChar()
Set what type of scalar data this source should generate.
#define VTK_UNSIGNED_CHAR
Generic algorithm superclass for image algs.
static vtkAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
#define VTK_UNSIGNED_LONG
vtkBooleanMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToFloat()
Set what type of scalar data this source should generate.
general representation of visualization data
void SetOutputScalarTypeToUnsignedInt()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToChar()
Set what type of scalar data this source should generate.