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
27class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCompositePainter : public vtkCompositePainter
28{
29public:
32 void PrintSelf(ostream& os, vtkIndent indent);
33
34protected:
37
42 vtkRenderWindow* window, vtkProperty* property, RenderBlockState& state);
43
44private:
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.
a simple class to control print indentation
Definition: vtkIndent.h:40
composite painter for OpenGL.
virtual void UpdateRenderingState(vtkRenderWindow *window, vtkProperty *property, RenderBlockState &state)
Overridden in vtkOpenGLCompositePainter to pass attributes to OpenGL.
static vtkOpenGLCompositePainter * New()
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
represent surface properties of a geometric object
Definition: vtkProperty.h:65
create a window for renderers to draw into