vtkVoxelModeller.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00043 #ifndef __vtkVoxelModeller_h
00044 #define __vtkVoxelModeller_h
00045
00046 #include "vtkDataSetToImageFilter.h"
00047
00048 class VTK_IMAGING_EXPORT vtkVoxelModeller : public vtkDataSetToImageFilter
00049 {
00050 public:
00051 vtkTypeRevisionMacro(vtkVoxelModeller,vtkDataSetToImageFilter);
00052 void PrintSelf(ostream& os, vtkIndent indent);
00053
00059 static vtkVoxelModeller *New();
00060
00062 double ComputeModelBounds(double origin[3], double ar[3]);
00063
00065 void SetSampleDimensions(int i, int j, int k);
00066
00068
00069 void SetSampleDimensions(int dim[3]);
00070 vtkGetVectorMacro(SampleDimensions,int,3);
00072
00074
00076 vtkSetClampMacro(MaximumDistance,double,0.0,1.0);
00077 vtkGetMacro(MaximumDistance,double);
00079
00081
00082 void SetModelBounds(double bounds[6]);
00083 void SetModelBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax);
00084 vtkGetVectorMacro(ModelBounds,double,6);
00086
00088 void Write(char *);
00089
00090 protected:
00091 vtkVoxelModeller();
00092 ~vtkVoxelModeller() {};
00093
00094
00095 virtual void ExecuteInformation();
00096 virtual void ExecuteData(vtkDataObject *);
00097
00098 int SampleDimensions[3];
00099 double MaximumDistance;
00100 double ModelBounds[6];
00101 private:
00102 vtkVoxelModeller(const vtkVoxelModeller&);
00103 void operator=(const vtkVoxelModeller&);
00104 };
00105
00106 #endif