You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
nmWTAI-Platform/3rd/VTK7.1/include/vtkOpenGLCompositePainter.h

52 lines
1.6 KiB
C

/*=========================================================================
Program: Visualization Toolkit
Module: vtkOpenGLCompositePainter.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
/**
* @class vtkOpenGLCompositePainter
* @brief composite painter for OpenGL.
*
*/
#ifndef vtkOpenGLCompositePainter_h
#define vtkOpenGLCompositePainter_h
#include "vtkRenderingOpenGLModule.h" // For export macro
#include "vtkCompositePainter.h"
class VTKRENDERINGOPENGL_EXPORT vtkOpenGLCompositePainter : public vtkCompositePainter
{
public:
static vtkOpenGLCompositePainter* New();
vtkTypeMacro(vtkOpenGLCompositePainter, vtkCompositePainter);
void PrintSelf(ostream& os, vtkIndent indent);
protected:
vtkOpenGLCompositePainter();
~vtkOpenGLCompositePainter();
/**
* Overridden in vtkOpenGLCompositePainter to pass attributes to OpenGL.
*/
virtual void UpdateRenderingState(
vtkRenderWindow* window, vtkProperty* property, RenderBlockState& state);
private:
vtkOpenGLCompositePainter(const vtkOpenGLCompositePainter&) VTK_DELETE_FUNCTION;
void operator=(const vtkOpenGLCompositePainter&) VTK_DELETE_FUNCTION;
bool PushedOpenGLAttribs;
};
#endif