vtkRectangularButtonSource.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00056 #ifndef __vtkRectangularButtonSource_h
00057 #define __vtkRectangularButtonSource_h
00058
00059 #include "vtkButtonSource.h"
00060
00061 class vtkCellArray;
00062 class vtkFloatArray;
00063 class vtkPoints;
00064
00065 class VTK_GRAPHICS_EXPORT vtkRectangularButtonSource : public vtkButtonSource
00066 {
00067 public:
00068 void PrintSelf(ostream& os, vtkIndent indent);
00069 vtkTypeRevisionMacro(vtkRectangularButtonSource,vtkButtonSource);
00070
00072 static vtkRectangularButtonSource *New();
00073
00075
00076 vtkSetClampMacro(Width,double,0.0,VTK_DOUBLE_MAX);
00077 vtkGetMacro(Width,double);
00079
00081
00082 vtkSetClampMacro(Height,double,0.0,VTK_DOUBLE_MAX);
00083 vtkGetMacro(Height,double);
00085
00087
00088 vtkSetClampMacro(Depth,double,0.0,VTK_DOUBLE_MAX);
00089 vtkGetMacro(Depth,double);
00091
00093
00097 vtkSetClampMacro(BoxRatio,double,0.0,VTK_DOUBLE_MAX);
00098 vtkGetMacro(BoxRatio,double);
00100
00102
00107 vtkSetClampMacro(TextureRatio,double,0.0,VTK_DOUBLE_MAX);
00108 vtkGetMacro(TextureRatio,double);
00110
00112
00116 vtkSetClampMacro(TextureHeightRatio,double,0.0,VTK_DOUBLE_MAX);
00117 vtkGetMacro(TextureHeightRatio,double);
00119
00120 protected:
00121 vtkRectangularButtonSource();
00122 ~vtkRectangularButtonSource() {}
00123
00124 void Execute();
00125
00126 double Width;
00127 double Height;
00128 double Depth;
00129
00130 double BoxRatio;
00131 double TextureRatio;
00132 double TextureHeightRatio;
00133
00134 private:
00135 vtkRectangularButtonSource(const vtkRectangularButtonSource&);
00136 void operator=(const vtkRectangularButtonSource&);
00137
00138 };
00139
00140 #endif
00141
00142