VTK
dox
Rendering
OpenGL
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
=========================================================================*/
33
#ifndef vtkOpenGLModelViewProjectionMonitor_h
34
#define vtkOpenGLModelViewProjectionMonitor_h
35
36
#include "vtkRenderingOpenGLModule.h"
// for export macro
37
#include "
vtkObject.h
"
38
39
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLModelViewProjectionMonitor
:
public
vtkObject
40
{
41
public
:
42
static
vtkOpenGLModelViewProjectionMonitor
*
New
();
43
vtkTypeMacro(
vtkOpenGLModelViewProjectionMonitor
,
vtkObject
);
44
void
PrintSelf
(ostream& os,
vtkIndent
indent);
45
53
bool
StateChanged();
54
59
void
Update
();
60
62
65
void
SetProjection(
float
*val);
66
void
SetModelView(
float
*val);
68
69
protected
:
70
vtkOpenGLModelViewProjectionMonitor
() : UpTime(0)
71
{ this->Initialize(); }
72
73
~vtkOpenGLModelViewProjectionMonitor
(){}
74
75
void
Initialize();
76
77
private
:
78
float
Projection[16];
79
float
ModelView[16];
80
long
long
UpTime;
81
82
private
:
83
vtkOpenGLModelViewProjectionMonitor
(
const
vtkOpenGLModelViewProjectionMonitor
&) VTK_DELETE_FUNCTION;
84
void
operator=(
const
vtkOpenGLModelViewProjectionMonitor
&) VTK_DELETE_FUNCTION;
85
};
86
87
#endif
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkOpenGLModelViewProjectionMonitor::~vtkOpenGLModelViewProjectionMonitor
~vtkOpenGLModelViewProjectionMonitor()
Definition:
vtkOpenGLModelViewProjectionMonitor.h:73
vtkOpenGLModelViewProjectionMonitor
Definition:
vtkOpenGLModelViewProjectionMonitor.h:39
vtkObject
abstract base class for most VTK objects
Definition:
vtkObject.h:59
vtkOpenGLModelViewProjectionMonitor::vtkOpenGLModelViewProjectionMonitor
vtkOpenGLModelViewProjectionMonitor()
Definition:
vtkOpenGLModelViewProjectionMonitor.h:70
Update
virtual void Update()
Updates the extensions string.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkObject::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkObject.h
Generated by
1.8.17