VTK  9.3.0
vtkOpenGLActor.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
11#ifndef vtkOpenGLActor_h
12#define vtkOpenGLActor_h
13
14#include "vtkActor.h"
15#include "vtkRenderingOpenGL2Module.h" // For export macro
16
17VTK_ABI_NAMESPACE_BEGIN
20class vtkMatrix4x4;
21class vtkMatrix3x3;
22
23class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLActor : public vtkActor
24{
25public:
27 vtkTypeMacro(vtkOpenGLActor, vtkActor);
28 void PrintSelf(ostream& os, vtkIndent indent) override;
29
33 void Render(vtkRenderer* ren, vtkMapper* mapper) override;
34
35 virtual void GetKeyMatrices(vtkMatrix4x4*& WCVCMatrix, vtkMatrix3x3*& normalMatrix);
36
52
53protected:
55 ~vtkOpenGLActor() override;
56
61
62private:
63 vtkOpenGLActor(const vtkOpenGLActor&) = delete;
64 void operator=(const vtkOpenGLActor&) = delete;
65};
66
67VTK_ABI_NAMESPACE_END
68#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:41
a simple class to control print indentation
Definition vtkIndent.h:29
Key for integer values in vtkInformation.
abstract class specifies interface to map data to graphics primitives
Definition vtkMapper.h:77
represent and manipulate 3x3 transformation matrices
represent and manipulate 4x4 transformation matrices
OpenGL actor.
vtkMatrix4x4 * MCWCMatrix
virtual void GetKeyMatrices(vtkMatrix4x4 *&WCVCMatrix, vtkMatrix3x3 *&normalMatrix)
static vtkInformationIntegerKey * GLDepthMaskOverride()
If this key is set in GetPropertyKeys(), the glDepthMask will be adjusted prior to rendering transluc...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMatrix3x3 * NormalMatrix
~vtkOpenGLActor() override
vtkTransform * NormalTransform
vtkTimeStamp KeyMatrixTime
void Render(vtkRenderer *ren, vtkMapper *mapper) override
Actual actor render method.
static vtkOpenGLActor * New()
OpenGL renderer.
abstract specification for renderers
Definition vtkRenderer.h:59
record modification and/or execution time
describes linear transformations via a 4x4 matrix