92 #ifndef __vtkImplicitModeller_h
93 #define __vtkImplicitModeller_h
95 #include "vtkFiltersHybridModule.h"
98 #define VTK_VOXEL_MODE 0
99 #define VTK_CELL_MODE 1
103 class vtkMultiThreader;
109 void PrintSelf(ostream& os, vtkIndent indent);
118 double ComputeModelBounds(vtkDataSet *input = NULL);
122 vtkGetVectorMacro(SampleDimensions,
int,3);
123 void SetSampleDimensions(
int i,
int j,
int k);
124 void SetSampleDimensions(
int dim[3]);
132 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
133 vtkGetMacro(MaximumDistance,
double);
139 vtkSetVector6Macro(ModelBounds,
double);
140 vtkGetVectorMacro(ModelBounds,
double,6);
148 vtkSetMacro(AdjustBounds,
int);
149 vtkGetMacro(AdjustBounds,
int);
150 vtkBooleanMacro(AdjustBounds,
int);
157 vtkSetClampMacro(AdjustDistance,
double,-1.0,1.0);
158 vtkGetMacro(AdjustDistance,
double);
164 vtkSetMacro(Capping,
int);
165 vtkGetMacro(Capping,
int);
166 vtkBooleanMacro(Capping,
int);
172 void SetCapValue(
double value);
173 vtkGetMacro(CapValue,
double);
185 vtkSetMacro(ScaleToMaximumDistance,
int);
186 vtkGetMacro(ScaleToMaximumDistance,
int);
187 vtkBooleanMacro(ScaleToMaximumDistance,
int);
196 vtkSetClampMacro(ProcessMode,
int, 0, 1);
197 vtkGetMacro(ProcessMode,
int);
200 const char *GetProcessModeAsString(
void);
206 vtkSetMacro(LocatorMaxLevel,
int);
207 vtkGetMacro(LocatorMaxLevel,
int);
212 vtkSetClampMacro( NumberOfThreads,
int, 1, VTK_MAX_THREADS );
213 vtkGetMacro( NumberOfThreads,
int );
218 void SetOutputScalarType(
int type);
219 vtkGetMacro(OutputScalarType,
int);
224 {this->SetOutputScalarType(VTK_UNSIGNED_INT);};
227 {this->SetOutputScalarType(VTK_UNSIGNED_LONG);};
230 {this->SetOutputScalarType(VTK_UNSIGNED_SHORT);};
232 {this->SetOutputScalarType(VTK_UNSIGNED_CHAR);};
234 {this->SetOutputScalarType(VTK_CHAR);};
248 void Append(vtkDataSet *input);
255 vtkInformationVector**,
256 vtkInformationVector*);
262 double GetScalarTypeMax(
int type);
265 vtkInformationVector **,
266 vtkInformationVector *);
268 vtkInformationVector **, vtkInformationVector *);
270 void StartAppend(
int internal);
271 void Cap(vtkDataArray *s);
276 int SampleDimensions[3];
278 double ModelBounds[6];
compute distance from input geometry on structured point dataset
void SetProcessModeToPerCell()
virtual int ProcessRequest(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetOutputScalarTypeToDouble()
void SetOutputScalarTypeToUnsignedChar()
void SetOutputScalarTypeToUnsignedShort()
double InternalMaxDistance
void SetOutputScalarTypeToInt()
virtual int RequestInformation(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetOutputScalarTypeToChar()
void SetOutputScalarTypeToShort()
void SetOutputScalarTypeToFloat()
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkMultiThreader * Threader
void SetOutputScalarTypeToUnsignedInt()
void SetProcessModeToPerVoxel()
void SetOutputScalarTypeToLong()
Generic algorithm superclass for image algs.
void PrintSelf(ostream &os, vtkIndent indent)
static vtkAlgorithm * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
int ScaleToMaximumDistance
void SetOutputScalarTypeToUnsignedLong()