VTK
vtkOpenGLActor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLActor.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 =========================================================================*/
22 #ifndef vtkOpenGLActor_h
23 #define vtkOpenGLActor_h
24 
25 #include "vtkRenderingOpenGL2Module.h" // For export macro
26 #include "vtkActor.h"
27 
28 class vtkOpenGLRenderer;
29 class vtkMatrix4x4;
30 class vtkMatrix3x3;
31 
32 class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLActor : public vtkActor
33 {
34 public:
35  static vtkOpenGLActor *New();
36  vtkTypeMacro(vtkOpenGLActor, vtkActor);
37  virtual void PrintSelf(ostream& os, vtkIndent indent);
38 
40  void Render(vtkRenderer *ren, vtkMapper *mapper);
41 
42  void GetKeyMatrices(vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix);
43 
44 protected:
46  ~vtkOpenGLActor();
47 
52 
53 private:
54  vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented.
55  void operator=(const vtkOpenGLActor&); // Not implemented.
56 };
57 
58 #endif
virtual void Render(vtkRenderer *, vtkMapper *)
Definition: vtkActor.h:80
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:50
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:38
record modification and/or execution time
Definition: vtkTimeStamp.h:34
abstract specification for renderers
Definition: vtkRenderer.h:63
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:59
static vtkActor * New()
void PrintSelf(ostream &os, vtkIndent indent)
vtkTransform * NormalTransform
OpenGL actor.
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkMatrix3x3 * NormalMatrix
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:89
vtkTimeStamp KeyMatrixTime
vtkMatrix4x4 * MCWCMatrix
OpenGL renderer.
represent and manipulate 3x3 transformation matrices
Definition: vtkMatrix3x3.h:35