vtkOutlineSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00038 #ifndef __vtkOutlineSource_h
00039 #define __vtkOutlineSource_h
00040
00041 #include "vtkPolyDataSource.h"
00042
00043 #define VTK_BOX_TYPE_AXIS_ALIGNED 0
00044 #define VTK_BOX_TYPE_ORIENTED 1
00045
00046 class VTK_GRAPHICS_EXPORT vtkOutlineSource : public vtkPolyDataSource
00047 {
00048 public:
00049 static vtkOutlineSource *New();
00050 vtkTypeRevisionMacro(vtkOutlineSource,vtkPolyDataSource);
00051 void PrintSelf(ostream& os, vtkIndent indent);
00052
00054
00057 vtkSetMacro(BoxType,int);
00058 vtkGetMacro(BoxType,int);
00059 void SetBoxTypeToAxisAligned()
00060 {this->SetBoxType(VTK_BOX_TYPE_AXIS_ALIGNED);}
00061 void SetBoxTypeToOriented()
00062 {this->SetBoxType(VTK_BOX_TYPE_ORIENTED);}
00064
00066
00067 vtkSetVector6Macro(Bounds,double);
00068 vtkGetVectorMacro(Bounds,double,6);
00070
00072
00076 vtkSetVectorMacro(Corners,double,24);
00077 vtkGetVectorMacro(Corners,double,24);
00079
00080 protected:
00081 vtkOutlineSource();
00082 ~vtkOutlineSource() {}
00083
00084 void Execute();
00085 int BoxType;
00086 double Bounds[6];
00087 double Corners[24];
00088
00089 private:
00090 vtkOutlineSource(const vtkOutlineSource&);
00091 void operator=(const vtkOutlineSource&);
00092 };
00093
00094 #endif
00095
00096