Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Imaging/vtkVoxelModeller.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00047 #ifndef __vtkVoxelModeller_h
00048 #define __vtkVoxelModeller_h
00049
00050 #include "vtkDataSetToImageFilter.h"
00051
00052 class VTK_IMAGING_EXPORT vtkVoxelModeller : public vtkDataSetToImageFilter
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkVoxelModeller,vtkDataSetToImageFilter);
00056 void PrintSelf(ostream& os, vtkIndent indent);
00057
00063 static vtkVoxelModeller *New();
00064
00066 float ComputeModelBounds(float origin[3], float ar[3]);
00067
00069 void SetSampleDimensions(int i, int j, int k);
00070
00072
00073 void SetSampleDimensions(int dim[3]);
00074 vtkGetVectorMacro(SampleDimensions,int,3);
00076
00078
00080 vtkSetClampMacro(MaximumDistance,float,0.0,1.0);
00081 vtkGetMacro(MaximumDistance,float);
00083
00085
00086 void SetModelBounds(float bounds[6]);
00087 void SetModelBounds(float xmin, float xmax, float ymin, float ymax, float zmin, float zmax);
00088 vtkGetVectorMacro(ModelBounds,float,6);
00090
00092 void Write(char *);
00093
00094 protected:
00095 vtkVoxelModeller();
00096 ~vtkVoxelModeller() {};
00097
00098
00099 virtual void ExecuteInformation();
00100 virtual void ExecuteData(vtkDataObject *);
00101
00102 int SampleDimensions[3];
00103 float MaximumDistance;
00104 float ModelBounds[6];
00105 private:
00106 vtkVoxelModeller(const vtkVoxelModeller&);
00107 void operator=(const vtkVoxelModeller&);
00108 };
00109
00110 #endif