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 "vtkActor.h"
26 
27 class vtkOpenGLRenderer;
28 
30 {
31 protected:
32 
33 public:
34  static vtkOpenGLActor *New();
35  vtkTypeMacro(vtkOpenGLActor,vtkActor);
36  virtual void PrintSelf(ostream& os, vtkIndent indent);
37 
39  void Render(vtkRenderer *ren, vtkMapper *mapper);
40 
41 protected:
44 
45 private:
46  vtkOpenGLActor(const vtkOpenGLActor&); // Not implemented.
47  void operator=(const vtkOpenGLActor&); // Not implemented.
48 };
49 
50 #endif
51 
virtual void Render(vtkRenderer *, vtkMapper *)
Definition: vtkActor.h:79
represents an object (geometry & properties) in a rendered scene
Definition: vtkActor.h:49
abstract specification for renderers
Definition: vtkRenderer.h:69
static vtkActor * New()
void PrintSelf(ostream &os, vtkIndent indent)
OpenGL actor.
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract class specifies interface to map data to graphics primitives
Definition: vtkMapper.h:85
#define VTK_RENDERING_EXPORT
OpenGL renderer.