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
00015
00034
#ifndef __vtkVoxelModeller_h
00035
#define __vtkVoxelModeller_h
00036
00037
#include "vtkDataSetToImageFilter.h"
00038
00039 class VTK_IMAGING_EXPORT vtkVoxelModeller :
public vtkDataSetToImageFilter
00040 {
00041
public:
00042 vtkTypeRevisionMacro(vtkVoxelModeller,
vtkDataSetToImageFilter);
00043
void PrintSelf(ostream& os,
vtkIndent indent);
00044
00050
static vtkVoxelModeller *
New();
00051
00053
float ComputeModelBounds(
float origin[3],
float ar[3]);
00054
00056
void SetSampleDimensions(
int i,
int j,
int k);
00057
00059
00060
void SetSampleDimensions(
int dim[3]);
00061 vtkGetVectorMacro(SampleDimensions,
int,3);
00063
00065
00067 vtkSetClampMacro(MaximumDistance,
float,0.0,1.0);
00068 vtkGetMacro(MaximumDistance,
float);
00070
00072
00073
void SetModelBounds(
float bounds[6]);
00074
void SetModelBounds(
float xmin,
float xmax,
float ymin,
float ymax,
float zmin,
float zmax);
00075 vtkGetVectorMacro(ModelBounds,
float,6);
00077
00079
void Write(
char *);
00080
00081
protected:
00082 vtkVoxelModeller();
00083 ~vtkVoxelModeller() {};
00084
00085
00086
virtual void ExecuteInformation();
00087
virtual void ExecuteData(
vtkDataObject *);
00088
00089 int SampleDimensions[3];
00090 float MaximumDistance;
00091 float ModelBounds[6];
00092
private:
00093 vtkVoxelModeller(
const vtkVoxelModeller&);
00094
void operator=(
const vtkVoxelModeller&);
00095 };
00096
00097
#endif