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 "vtkRenderingCoreModule.h" // For export macro
35 #include "vtkAbstractMapper.h"
36 
37 class vtkWindow;
38 class vtkDataSet;
39 class vtkMatrix4x4;
40 
42 {
43 public:
45  void PrintSelf(ostream& os, vtkIndent indent);
46 
50  virtual double *GetBounds() = 0;
51 
53  virtual void GetBounds(double bounds[6]);
54 
56 
57  double *GetCenter();
58  void GetCenter(double center[3])
59  {
60  double *rc = this->GetCenter();
61  center[0] = rc[0]; center[1] = rc[1]; center[2] = rc[2];
62  }
64 
66  double GetLength();
67 
69 
71  virtual int IsARayCastMapper()
72  { return 0; }
74 
76 
80  { return 0; }
82 
84 
86  void GetClippingPlaneInDataCoords(
87  vtkMatrix4x4 *propMatrix, int i, double planeEquation[4]);
89 
91  int GetNumberOfClippingPlanes();
92 
93 protected:
96 
97  double Bounds[6];
98  double Center[3];
99 
100 private:
101  vtkAbstractMapper3D(const vtkAbstractMapper3D&); // Not implemented.
102  void operator=(const vtkAbstractMapper3D&); // Not implemented.
103 };
104 
105 #endif
void GetCenter(double center[3])
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:38
void PrintSelf(ostream &os, vtkIndent indent)
abstract class to specify dataset behavior
Definition: vtkDataSet.h:61
window superclass for vtkRenderWindow
Definition: vtkWindow.h:36
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract class specifies interface to map 3D data
abstract class specifies interface to map data
#define VTKRENDERINGCORE_EXPORT
virtual int IsARenderIntoImageMapper()
virtual int IsARayCastMapper()