VTK
dox
Rendering
External
vtkExternalOpenGLCamera.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkExternalOpenGLCamera.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
=========================================================================*/
25
#ifndef vtkExternalOpenGLCamera_h
26
#define vtkExternalOpenGLCamera_h
27
28
#include "vtkRenderingExternalModule.h"
// For export macro
29
#include "
vtkOpenGLCamera.h
"
30
31
class
VTKRENDERINGEXTERNAL_EXPORT
vtkExternalOpenGLCamera
:
32
public
vtkOpenGLCamera
33
{
34
public
:
35
static
vtkExternalOpenGLCamera
*
New
();
36
vtkTypeMacro(
vtkExternalOpenGLCamera
,
vtkOpenGLCamera
);
37
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
38
42
void
Render
(
vtkRenderer
*ren)
override
;
43
47
void
SetViewTransformMatrix(
const
double
elements[16]);
48
52
void
SetProjectionTransformMatrix(
const
double
elements[16]);
53
54
protected
:
55
vtkExternalOpenGLCamera
();
56
~vtkExternalOpenGLCamera
()
override
{}
57
62
void
ComputeViewTransform
()
override
;
63
64
private
:
65
bool
UserProvidedViewTransform;
66
67
vtkExternalOpenGLCamera
(
const
vtkExternalOpenGLCamera
&) =
delete
;
68
void
operator=(
const
vtkExternalOpenGLCamera
&) =
delete
;
69
};
70
71
#endif
vtkOpenGLCamera.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkExternalOpenGLCamera::~vtkExternalOpenGLCamera
~vtkExternalOpenGLCamera() override
Definition:
vtkExternalOpenGLCamera.h:56
vtkOpenGLCamera::Render
void Render(vtkRenderer *ren) override
Implement base class method.
vtkOpenGLCamera
OpenGL camera.
Definition:
vtkOpenGLCamera.h:35
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
vtkOpenGLCamera::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkExternalOpenGLCamera
OpenGL camera.
Definition:
vtkExternalOpenGLCamera.h:31
vtkOpenGLCamera::New
static vtkOpenGLCamera * New()
vtkCamera::ComputeViewTransform
virtual void ComputeViewTransform()
Generated by
1.8.16