 |
VTK
9.1.0
|
Go to the documentation of this file.
139 #ifndef vtkSampleFunction_h
140 #define vtkSampleFunction_h
143 #include "vtkImagingHybridModule.h"
172 vtkSetMacro(OutputScalarType,
int);
173 vtkGetMacro(OutputScalarType,
int);
196 vtkGetVectorMacro(SampleDimensions,
int, 3);
205 void SetModelBounds(
double xMin,
double xMax,
double yMin,
double yMax,
double zMin,
double zMax);
206 vtkGetVectorMacro(ModelBounds,
double, 6);
224 vtkSetMacro(CapValue,
double);
225 vtkGetMacro(CapValue,
double);
242 vtkSetStringMacro(ScalarArrayName);
243 vtkGetStringMacro(ScalarArrayName);
251 vtkSetStringMacro(NormalArrayName);
252 vtkGetStringMacro(NormalArrayName);
279 int SampleDimensions[3];
280 double ModelBounds[6];
void SetOutputScalarTypeToFloat()
Set what type of scalar data this source should generate.
~vtkSampleFunction() override
void SetModelBounds(double xMin, double xMax, double yMin, double yMax, double zMin, double zMax)
Specify the region in space over which the sampling occurs.
void ExecuteDataWithInformation(vtkDataObject *, vtkInformation *) override
This is a convenience method that is implemented in many subclasses instead of RequestData.
int RequestInformation(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Subclasses can reimplement this method to collect information from their inputs and set information f...
#define VTK_UNSIGNED_SHORT
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOutputScalarTypeToShort()
Set what type of scalar data this source should generate.
abstract superclass for arrays of numeric data
Generic algorithm superclass for image algs.
void SetOutputScalarTypeToDouble()
Set what type of scalar data this source should generate.
abstract interface for implicit functions
void SetOutputScalarTypeToUnsignedShort()
Set what type of scalar data this source should generate.
vtkTypeBool ComputeNormals
void SetOutputScalarTypeToUnsignedLong()
Set what type of scalar data this source should generate.
sample an implicit function over a structured point set
void SetOutputScalarTypeToUnsignedChar()
Set what type of scalar data this source should generate.
virtual void SetImplicitFunction(vtkImplicitFunction *)
Specify the implicit function to use to generate data.
a simple class to control print indentation
void ReportReferences(vtkGarbageCollector *) override
#define VTK_UNSIGNED_CHAR
vtkMTimeType GetMTime() override
Return the MTime also considering the implicit function.
void SetOutputScalarTypeToLong()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToInt()
Set what type of scalar data this source should generate.
Detect and break reference loops.
#define VTK_UNSIGNED_LONG
void Cap(vtkDataArray *s)
void SetSampleDimensions(int dim[3])
Specify the dimensions of the data on which to sample.
vtkImplicitFunction * ImplicitFunction
void SetSampleDimensions(int i, int j, int k)
Specify the dimensions of the data on which to sample.
void SetOutputScalarTypeToChar()
Set what type of scalar data this source should generate.
void SetOutputScalarTypeToUnsignedInt()
Set what type of scalar data this source should generate.
vtkSampleFunction()
Default constructor.
general representation of visualization data
static vtkSampleFunction * New()
Construct with ModelBounds=(-1,1,-1,1,-1,1), SampleDimensions=(50,50,50), Capping turned off,...
void SetModelBounds(const double bounds[6])
Specify the region in space over which the sampling occurs.
vtkTypeUInt32 vtkMTimeType