VTK  9.4.20241213
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#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
17
18VTK_ABI_NAMESPACE_BEGIN
21class vtkMatrix4x4;
22class vtkMatrix3x3;
23
24class VTKRENDERINGOPENGL2_EXPORT VTK_MARSHALAUTO vtkOpenGLActor : public vtkActor
25{
26public:
28 vtkTypeMacro(vtkOpenGLActor, vtkActor);
29 void PrintSelf(ostream& os, vtkIndent indent) override;
30
34 void Render(vtkRenderer* ren, vtkMapper* mapper) override;
35
36 virtual void GetKeyMatrices(vtkMatrix4x4*& WCVCMatrix, vtkMatrix3x3*& normalMatrix);
37
53
54protected:
56 ~vtkOpenGLActor() override;
57
62
63private:
64 vtkOpenGLActor(const vtkOpenGLActor&) = delete;
65 void operator=(const vtkOpenGLActor&) = delete;
66};
67
68VTK_ABI_NAMESPACE_END
69#endif
represents an object (geometry & properties) in a rendered scene
Definition vtkActor.h:151
a simple class to control print indentation
Definition vtkIndent.h:108
Key for integer values in vtkInformation.
abstract class specifies interface to map data to graphics primitives
Definition vtkMapper.h:137
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
record modification and/or execution time
describes linear transformations via a 4x4 matrix
#define VTK_MARSHALAUTO