VTK
vtkRenderState.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkRenderState.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 =========================================================================*/
28 #ifndef __vtkRenderState_h
29 #define __vtkRenderState_h
30 
31 #include "vtkObject.h"
32 
33 class vtkRenderer;
34 class vtkProp;
36 class vtkInformation;
37 
39 {
40  public:
44  vtkRenderState(vtkRenderer *renderer);
45 
48  ~vtkRenderState();
49 
51  bool IsValid() const;
52 
56  vtkRenderer *GetRenderer() const;
57 
61  vtkFrameBufferObject *GetFrameBuffer() const;
62 
65  void SetFrameBuffer(vtkFrameBufferObject *fbo);
66 
68  void GetWindowSize(int size[2]) const;
69 
71  vtkProp **GetPropArray() const;
72 
75  int GetPropArrayCount() const;
76 
78 
87  void SetPropArrayAndCount(vtkProp **propArray,
88  int propArrayCount);
90 
94  vtkInformation *GetRequiredKeys() const;
95 
98  void SetRequiredKeys(vtkInformation *keys);
99 
100  protected:
104 
109 
111 
119 
123 
124 private:
125  vtkRenderState(); // no default constructor.
126  vtkRenderState(const vtkRenderState &); // Not implemented.
127  void operator=(const vtkRenderState &); // Not implemented.
128 };
129 
130 #endif
abstract superclass for all actors, volumes and annotations
Definition: vtkProp.h:49
Store vtkAlgorithm input/output information.
vtkProp ** PropArray
vtkRenderer * Renderer
vtkFrameBufferObject * FrameBuffer
abstract specification for renderers
Definition: vtkRenderer.h:69
Context in which a vtkRenderPass will render.
internal class which encapsulates OpenGL frame buffer object. Not to be used directly.
#define VTK_RENDERING_EXPORT
vtkInformation * RequiredKeys