dox/Imaging/vtkVoxelModeller.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00030
#ifndef __vtkVoxelModeller_h
00031
#define __vtkVoxelModeller_h
00032
00033
#include "vtkDataSetToImageFilter.h"
00034
00035 class VTK_IMAGING_EXPORT vtkVoxelModeller :
public vtkDataSetToImageFilter
00036 {
00037
public:
00038 vtkTypeRevisionMacro(vtkVoxelModeller,
vtkDataSetToImageFilter);
00039
void PrintSelf(ostream& os,
vtkIndent indent);
00040
00046
static vtkVoxelModeller *
New();
00047
00049
double ComputeModelBounds(
double origin[3],
double ar[3]);
00050
00052
void SetSampleDimensions(
int i,
int j,
int k);
00053
00055
00056
void SetSampleDimensions(
int dim[3]);
00057 vtkGetVectorMacro(SampleDimensions,
int,3);
00059
00061
00063 vtkSetClampMacro(MaximumDistance,
double,0.0,1.0);
00064 vtkGetMacro(MaximumDistance,
double);
00066
00068
00069
void SetModelBounds(
double bounds[6]);
00070
void SetModelBounds(
double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax);
00071 vtkGetVectorMacro(ModelBounds,
double,6);
00073
00075
void Write(
char *);
00076
00077
protected:
00078 vtkVoxelModeller();
00079 ~vtkVoxelModeller() {};
00080
00081
00082
virtual void ExecuteInformation();
00083
virtual void ExecuteData(
vtkDataObject *);
00084
00085 int SampleDimensions[3];
00086 double MaximumDistance;
00087 double ModelBounds[6];
00088
private:
00089 vtkVoxelModeller(
const vtkVoxelModeller&);
00090
void operator=(
const vtkVoxelModeller&);
00091 };
00092
00093
#endif