VTK
vtkAbstractMapper3D.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkAbstractMapper3D.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
31 #ifndef __vtkAbstractMapper3D_h
32 #define __vtkAbstractMapper3D_h
33 
34 #include "vtkAbstractMapper.h"
35 
36 class vtkWindow;
37 class vtkDataSet;
38 
40 {
41 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
48  virtual double *GetBounds()=0;
49 
51  virtual void GetBounds(double bounds[6]);
52 
54 
55  double *GetCenter();
56  void GetCenter(double center[3])
57  {
58  double *rc = this->GetCenter();
59  center[0] = rc[0]; center[1] = rc[1]; center[2] = rc[2];
60  }
62 
64  double GetLength();
65 
68  virtual int IsARayCastMapper() {return 0;}
69 
73  virtual int IsARenderIntoImageMapper() {return 0;}
74 
75 protected:
78 
79  double Bounds[6];
80  double Center[3];
81 
82 private:
83  vtkAbstractMapper3D(const vtkAbstractMapper3D&); // Not implemented.
84  void operator=(const vtkAbstractMapper3D&); // Not implemented.
85 };
86 
87 #endif
void GetCenter(double center[3])
void PrintSelf(ostream &os, vtkIndent indent)
abstract class to specify dataset behavior
Definition: vtkDataSet.h:58
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract class specifies interface to map 3D data
#define VTK_RENDERING_EXPORT
abstract class specifies interface to map data
virtual int IsARenderIntoImageMapper()
virtual int IsARayCastMapper()