Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/Imaging/vtkVoxelModeller.h

Go to the documentation of this file.
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkVoxelModeller.h,v $ 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 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&); // Not implemented. 00090 void operator=(const vtkVoxelModeller&); // Not implemented. 00091 }; 00092 00093 #endif