vtkAbstractMapper3D.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00045 #ifndef __vtkAbstractMapper3D_h
00046 #define __vtkAbstractMapper3D_h
00047
00048 #include "vtkAbstractMapper.h"
00049
00050 class vtkWindow;
00051 class vtkDataSet;
00052
00053 class VTK_RENDERING_EXPORT vtkAbstractMapper3D : public vtkAbstractMapper
00054 {
00055 public:
00056 vtkTypeRevisionMacro(vtkAbstractMapper3D,vtkAbstractMapper);
00057 void PrintSelf(ostream& os, vtkIndent indent);
00058
00061 virtual double *GetBounds()=0;
00062
00064 virtual void GetBounds(double bounds[6]);
00065
00067
00068 double *GetCenter();
00069 void GetCenter(double center[3])
00070 {
00071 double *rc = this->GetCenter();
00072 center[0] = rc[0]; center[1] = rc[1]; center[2] = rc[2];
00073 };
00075
00077 double GetLength();
00078
00081 virtual int IsARayCastMapper() {return 0;};
00082
00086 virtual int IsARenderIntoImageMapper() {return 0;};
00087
00089 virtual void Update()=0;
00090
00091 protected:
00092 vtkAbstractMapper3D();
00093 ~vtkAbstractMapper3D() {};
00094
00095 double Bounds[6];
00096 double Center[3];
00097
00098 private:
00099 vtkAbstractMapper3D(const vtkAbstractMapper3D&);
00100 void operator=(const vtkAbstractMapper3D&);
00101 };
00102
00103 #endif