Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

Rendering/vtkAbstractMapper3D.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkAbstractMapper3D.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00035 #ifndef __vtkAbstractMapper3D_h
00036 #define __vtkAbstractMapper3D_h
00037 
00038 #include "vtkAbstractMapper.h"
00039 
00040 class vtkWindow;
00041 class vtkDataSet;
00042 
00043 class VTK_RENDERING_EXPORT vtkAbstractMapper3D : public vtkAbstractMapper
00044 {
00045 public:
00046   vtkTypeRevisionMacro(vtkAbstractMapper3D,vtkAbstractMapper);
00047   void PrintSelf(ostream& os, vtkIndent indent);
00048 
00051   virtual float *GetBounds()=0;
00052 
00054   virtual void GetBounds(float bounds[6]);
00055   
00057   float *GetCenter();
00058   
00060   float GetLength();
00061 
00064   virtual int IsARayCastMapper() {return 0;};
00065 
00069   virtual int IsARenderIntoImageMapper() {return 0;};
00070 
00072   virtual void Update()=0;
00073 
00074 protected:
00075    vtkAbstractMapper3D();
00076   ~vtkAbstractMapper3D() {};
00077 
00078   float Bounds[6];
00079   float Center[3];
00080 
00081 private:
00082   vtkAbstractMapper3D(const vtkAbstractMapper3D&);  // Not implemented.
00083   void operator=(const vtkAbstractMapper3D&);  // Not implemented.
00084 };
00085 
00086 #endif