Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages
Graphics/vtkCursor3D.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 __vtkCursor3D_h
00048 #define __vtkCursor3D_h
00049
00050 #include "vtkPolyDataSource.h"
00051
00052 class VTK_GRAPHICS_EXPORT vtkCursor3D : public vtkPolyDataSource
00053 {
00054 public:
00055 vtkTypeRevisionMacro(vtkCursor3D,vtkPolyDataSource);
00056 void PrintSelf(ostream& os, vtkIndent indent);
00057
00060 static vtkCursor3D *New();
00061
00063
00064 void SetModelBounds(float xmin, float xmax, float ymin, float ymax,
00065 float zmin, float zmax);
00066 void SetModelBounds(float bounds[6]);
00067 vtkGetVectorMacro(ModelBounds,float,6);
00069
00071
00076 void SetFocalPoint(float x[3]);
00077 void SetFocalPoint(float x, float y, float z)
00078 {
00079 float xyz[3];
00080 xyz[0] = x; xyz[1] = y; xyz[2] = z;
00081 this->SetFocalPoint(xyz);
00082 }
00083 vtkGetVectorMacro(FocalPoint,float,3);
00085
00087
00088 vtkSetMacro(Outline,int);
00089 vtkGetMacro(Outline,int);
00090 vtkBooleanMacro(Outline,int);
00092
00094
00095 vtkSetMacro(Axes,int);
00096 vtkGetMacro(Axes,int);
00097 vtkBooleanMacro(Axes,int);
00099
00101
00102 vtkSetMacro(XShadows,int);
00103 vtkGetMacro(XShadows,int);
00104 vtkBooleanMacro(XShadows,int);
00106
00108
00109 vtkSetMacro(YShadows,int);
00110 vtkGetMacro(YShadows,int);
00111 vtkBooleanMacro(YShadows,int);
00113
00115
00116 vtkSetMacro(ZShadows,int);
00117 vtkGetMacro(ZShadows,int);
00118 vtkBooleanMacro(ZShadows,int);
00120
00122
00125 vtkSetMacro(TranslationMode,int);
00126 vtkGetMacro(TranslationMode,int);
00127 vtkBooleanMacro(TranslationMode,int);
00129
00131
00134 vtkSetMacro(Wrap,int);
00135 vtkGetMacro(Wrap,int);
00136 vtkBooleanMacro(Wrap,int);
00138
00140 vtkPolyData *GetFocus() {return (vtkPolyData *)this->Focus;};
00141
00143
00144 void AllOn();
00145 void AllOff();
00147
00148 protected:
00149 vtkCursor3D();
00150 ~vtkCursor3D();
00151
00152 void Execute();
00153
00154 vtkPolyData *Focus;
00155 float ModelBounds[6];
00156 float FocalPoint[3];
00157 int Outline;
00158 int Axes;
00159 int XShadows;
00160 int YShadows;
00161 int ZShadows;
00162 int TranslationMode;
00163 int Wrap;
00164
00165 private:
00166 vtkCursor3D(const vtkCursor3D&);
00167 void operator=(const vtkCursor3D&);
00168 };
00169
00170 #endif
00171
00172