VTK
vtkOpenGLModelViewProjectionMonitor.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkOpenGLModelViewProjectionMonitor
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 =========================================================================*/
32 #ifndef vtkOpenGLModelViewProjectionMonitor_h
33 #define vtkOpenGLModelViewProjectionMonitor_h
34 
35 #include "vtkRenderingOpenGLModule.h" // for export macro
36 #include "vtkObject.h"
37 
39 {
40 public:
43  void PrintSelf(ostream& os, vtkIndent indent);
44 
48  bool StateChanged();
49 
52  void Update();
53 
54  //BTX
56 
57  void SetProjection(float *val);
58  void SetModelView(float *val);
59  //ETX
61 
62 protected:
64  { this->Initialize(); }
65 
67 
68  void Initialize();
69 
70 private:
71  float Projection[16];
72  float ModelView[16];
73  long long UpTime;
74 
75 private:
77  void operator=(const vtkOpenGLModelViewProjectionMonitor &); // Not implemented
78 };
79 
80 #endif
vtkOpenGLModelViewProjectionMonitor::SetModelView
void SetModelView(float *val)
vtkRenderingOpenGLModule.h
vtkOpenGLModelViewProjectionMonitor::~vtkOpenGLModelViewProjectionMonitor
~vtkOpenGLModelViewProjectionMonitor()
Definition: vtkOpenGLModelViewProjectionMonitor.h:66
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkOpenGLModelViewProjectionMonitor
Definition: vtkOpenGLModelViewProjectionMonitor.h:39
vtkObject
abstract base class for most VTK objects
Definition: vtkObject.h:62
vtkOpenGLModelViewProjectionMonitor::Initialize
void Initialize()
vtkOpenGLModelViewProjectionMonitor::vtkOpenGLModelViewProjectionMonitor
vtkOpenGLModelViewProjectionMonitor()
Definition: vtkOpenGLModelViewProjectionMonitor.h:63
vtkgl::val
GLuint GLfloat * val
Definition: vtkgl.h:13789
vtkOpenGLModelViewProjectionMonitor::New
static vtkOpenGLModelViewProjectionMonitor * New()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkOpenGLModelViewProjectionMonitor::StateChanged
bool StateChanged()
vtkObject.h
vtkOpenGLModelViewProjectionMonitor::SetProjection
void SetProjection(float *val)
vtkOpenGLModelViewProjectionMonitor::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkOpenGLModelViewProjectionMonitor::Update
void Update()
VTKRENDERINGOPENGL_EXPORT
#define VTKRENDERINGOPENGL_EXPORT
Definition: vtkRenderingOpenGLModule.h:15