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=========================================================================*/
23#ifndef vtkOpenGLActor_h
24#define vtkOpenGLActor_h
25
26#include "vtkRenderingOpenGLModule.h" // For export macro
27#include "vtkActor.h"
28
30
31class VTKRENDERINGOPENGL_EXPORT vtkOpenGLActor : public vtkActor
32{
33public:
35 vtkTypeMacro(vtkOpenGLActor, vtkActor);
36 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
37
41 void Render(vtkRenderer *ren, vtkMapper *mapper);
42
43protected:
46
47private:
48 vtkOpenGLActor(const vtkOpenGLActor&) VTK_DELETE_FUNCTION;
49 void operator=(const vtkOpenGLActor&) VTK_DELETE_FUNCTION;
50};
51
52#endif
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:52
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:92
OpenGL actor.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void Render(vtkRenderer *ren, vtkMapper *mapper)
Actual actor render method.
static vtkOpenGLActor * New()
OpenGL renderer.
abstract specification for renderers
Definition: vtkRenderer.h:64