VTK
vtkOpenGLCompositePainter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLCompositePainter.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 =========================================================================*/
21 #ifndef vtkOpenGLCompositePainter_h
22 #define vtkOpenGLCompositePainter_h
23 
24 #include "vtkRenderingOpenGLModule.h" // For export macro
25 #include "vtkCompositePainter.h"
26 
27 class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCompositePainter : public vtkCompositePainter
28 {
29 public:
32  void PrintSelf(ostream& os, vtkIndent indent);
33 
34 protected:
37 
41  virtual void UpdateRenderingState(
42  vtkRenderWindow* window, vtkProperty* property, RenderBlockState& state);
43 
44 private:
45  vtkOpenGLCompositePainter(const vtkOpenGLCompositePainter&) VTK_DELETE_FUNCTION;
46  void operator=(const vtkOpenGLCompositePainter&) VTK_DELETE_FUNCTION;
47 
48  bool PushedOpenGLAttribs;
49 };
50 
51 #endif
painter that can be inserted before any vtkDataSet painting chain to handle composite datasets...
represent surface properties of a geometric object
Definition: vtkProperty.h:64
a simple class to control print indentation
Definition: vtkIndent.h:39
composite painter for OpenGL.
create a window for renderers to draw into
virtual void UpdateRenderingState(vtkRenderWindow *, vtkProperty *, RenderBlockState &)
Overridden in vtkOpenGLCompositePainter to pass attributes to OpenGL.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
static vtkCompositePainter * New()