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();
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:
47 
52 
53 private:
54  vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented.
55  void operator=(const vtkOpenGLActor&); // Not implemented.
56 };
57 
58 #endif
vtkOpenGLActor::MCWCMatrix
vtkMatrix4x4 * MCWCMatrix
Definition: vtkOpenGLActor.h:48
vtkOpenGLActor::~vtkOpenGLActor
~vtkOpenGLActor()
vtkOpenGLActor::NormalTransform
vtkTransform * NormalTransform
Definition: vtkOpenGLActor.h:50
vtkTimeStamp
record modification and/or execution time
Definition: vtkTimeStamp.h:35
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTransform
describes linear transformations via a 4x4 matrix
Definition: vtkTransform.h:60
vtkMatrix3x3
represent and manipulate 3x3 transformation matrices
Definition: vtkMatrix3x3.h:36
vtkOpenGLActor::vtkOpenGLActor
vtkOpenGLActor()
vtkOpenGLActor::Render
void Render(vtkRenderer *ren, vtkMapper *mapper)
vtkMapper
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:90
vtkActor
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:51
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkMatrix4x4
represent and manipulate 4x4 transformation matrices
Definition: vtkMatrix4x4.h:39
vtkOpenGLRenderer
OpenGL renderer.
Definition: vtkOpenGLRenderer.h:36
vtkActor.h
vtkOpenGLActor::NormalMatrix
vtkMatrix3x3 * NormalMatrix
Definition: vtkOpenGLActor.h:49
vtkOpenGLActor::GetKeyMatrices
void GetKeyMatrices(vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix)
vtkRenderer
abstract specification for renderers
Definition: vtkRenderer.h:64
vtkOpenGLActor::KeyMatrixTime
vtkTimeStamp KeyMatrixTime
Definition: vtkOpenGLActor.h:51
vtkOpenGLActor::New
static vtkOpenGLActor * New()
vtkOpenGLActor
OpenGL actor.
Definition: vtkOpenGLActor.h:31
vtkOpenGLActor::PrintSelf
virtual void PrintSelf(ostream &os, vtkIndent indent)