vtkAxes.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00043 #ifndef __vtkAxes_h
00044 #define __vtkAxes_h
00045
00046 #include "vtkPolyDataSource.h"
00047
00048 class VTK_GRAPHICS_EXPORT vtkAxes : public vtkPolyDataSource
00049 {
00050 public:
00051 static vtkAxes *New();
00052
00053 vtkTypeRevisionMacro(vtkAxes,vtkPolyDataSource);
00054 void PrintSelf(ostream& os, vtkIndent indent);
00055
00057
00058 vtkSetVector3Macro(Origin,double);
00059 vtkGetVectorMacro(Origin,double,3);
00061
00063
00064 vtkSetMacro(ScaleFactor,double);
00065 vtkGetMacro(ScaleFactor,double);
00067
00069
00070 vtkSetMacro(Symmetric,int);
00071 vtkGetMacro(Symmetric,int);
00072 vtkBooleanMacro(Symmetric,int);
00074
00076
00077 vtkSetMacro(ComputeNormals, int);
00078 vtkGetMacro(ComputeNormals, int);
00079 vtkBooleanMacro(ComputeNormals, int);
00081
00082 protected:
00083 vtkAxes();
00084 ~vtkAxes() {};
00085
00086 void Execute();
00087
00088 int ComputeDivisionExtents(vtkDataObject *output,
00089 int idx, int numDivisions);
00090
00091 double Origin[3];
00092 double ScaleFactor;
00093
00094 int Symmetric;
00095 int ComputeNormals;
00096 private:
00097 vtkAxes(const vtkAxes&);
00098 void operator=(const vtkAxes&);
00099 };
00100
00101 #endif
00102
00103