87 #ifndef vtkImplicitModeller_h
88 #define vtkImplicitModeller_h
90 #include "vtkFiltersHybridModule.h"
93 #define VTK_VOXEL_MODE 0
94 #define VTK_CELL_MODE 1
117 double ComputeModelBounds(
vtkDataSet *input = NULL);
123 vtkGetVectorMacro(SampleDimensions,
int,3);
124 void SetSampleDimensions(
int i,
int j,
int k);
125 void SetSampleDimensions(
int dim[3]);
135 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
136 vtkGetMacro(MaximumDistance,
double);
144 vtkSetVector6Macro(ModelBounds,
double);
145 vtkGetVectorMacro(ModelBounds,
double,6);
156 vtkGetMacro(AdjustBounds,
int);
166 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
167 vtkGetMacro(AdjustDistance,
double);
176 vtkGetMacro(Capping,
int);
185 void SetCapValue(
double value);
186 vtkGetMacro(CapValue,
double);
201 vtkGetMacro(ScaleToMaximumDistance,
int);
213 vtkSetClampMacro(ProcessMode,
int, 0, 1);
214 vtkGetMacro(ProcessMode,
int);
217 const char *GetProcessModeAsString(
void);
226 vtkGetMacro(LocatorMaxLevel,
int);
233 vtkSetClampMacro( NumberOfThreads,
int, 1, VTK_MAX_THREADS );
234 vtkGetMacro( NumberOfThreads,
int );
241 void SetOutputScalarType(
int type);
242 vtkGetMacro(OutputScalarType,
int);
257 {this->SetOutputScalarType(
VTK_CHAR);};
289 ~vtkImplicitModeller() VTK_OVERRIDE;
291 double GetScalarTypeMax(
int type);
295 vtkInformationVector *) VTK_OVERRIDE;
296 int RequestData (vtkInformation *,
297 vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
299 void StartAppend(
int internal);
305 int SampleDimensions[3];
306 double MaximumDistance;
307 double ModelBounds[6];
312 double AdjustDistance;
315 int OutputScalarType;
316 int ScaleToMaximumDistance;
322 double InternalMaxDistance;
324 int FillInputPortInformation(
int, vtkInformation*) VTK_OVERRIDE;
327 vtkImplicitModeller(const vtkImplicitModeller&) VTK_DELETE_FUNCTION;
328 void operator=(const vtkImplicitModeller&) VTK_DELETE_FUNCTION;
compute distance from input geometry on structured point dataset
#define VTK_UNSIGNED_SHORT
abstract class to specify dataset behavior
A class for performing multithreaded execution.
void SetProcessModeToPerCell()
Specify whether to visit each cell once per append or each voxel once per append. ...
void SetOutputScalarTypeToDouble()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedChar()
Set the desired output scalar type.
void SetOutputScalarTypeToUnsignedShort()
Set the desired output scalar type.
void SetOutputScalarTypeToInt()
Set the desired output scalar type.
a simple class to control print indentation
int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Process a request from the executive.
void SetOutputScalarTypeToChar()
Set the desired output scalar type.
abstract superclass for arrays of numeric data
void SetOutputScalarTypeToShort()
Set the desired output scalar type.
void SetOutputScalarTypeToFloat()
Set the desired output scalar type.
vtkSetMacro(IgnoreDriverBugs, bool)
When set known driver bugs are ignored during driver feature detection.
void SetOutputScalarTypeToUnsignedInt()
Set the desired output scalar type.
#define VTK_UNSIGNED_CHAR
void SetProcessModeToPerVoxel()
Specify whether to visit each cell once per append or each voxel once per append. ...
void SetOutputScalarTypeToLong()
Set the desired output scalar type.
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 SetOutputScalarTypeToUnsignedLong()
Set the desired output scalar type.