VTK
vtkOpenGLProperty.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkOpenGLProperty.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 vtkOpenGLProperty_h
24#define vtkOpenGLProperty_h
25
26#include "vtkRenderingOpenGL2Module.h" // For export macro
27#include "vtkProperty.h"
28
29class VTKRENDERINGOPENGL2_EXPORT vtkOpenGLProperty : public vtkProperty
30{
31public:
34 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
35
39 void Render(vtkActor *a, vtkRenderer *ren);
40
45
51 virtual void PostRender(vtkActor *a,
52 vtkRenderer *r);
53
60
61protected:
64
69 bool RenderTextures(vtkActor* actor, vtkRenderer* renderer);
70
71private:
72 vtkOpenGLProperty(const vtkOpenGLProperty&) VTK_DELETE_FUNCTION;
73 void operator=(const vtkOpenGLProperty&) VTK_DELETE_FUNCTION;
74};
75
76#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
OpenGL property.
void BackfaceRender(vtkActor *a, vtkRenderer *ren)
Implement base class method.
void Render(vtkActor *a, vtkRenderer *ren)
Implement base class method.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
bool RenderTextures(vtkActor *actor, vtkRenderer *renderer)
Method called in vtkOpenGLProperty::Render() to render textures.
virtual void PostRender(vtkActor *a, vtkRenderer *r)
This method is called after the actor has been rendered.
static vtkOpenGLProperty * New()
virtual void ReleaseGraphicsResources(vtkWindow *win)
Release any graphics resources that are being consumed by this property.
represent surface properties of a geometric object
Definition: vtkProperty.h:65
abstract specification for renderers
Definition: vtkRenderer.h:64
window superclass for vtkRenderWindow
Definition: vtkWindow.h:35