VTK
9.0.1
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 "
vtkOpenGLCamera.h
"
29
#include "vtkRenderingExternalModule.h"
// For export macro
30
31
class
VTKRENDERINGEXTERNAL_EXPORT
vtkExternalOpenGLCamera
:
public
vtkOpenGLCamera
32
{
33
public
:
34
static
vtkExternalOpenGLCamera
*
New
();
35
vtkTypeMacro(
vtkExternalOpenGLCamera
,
vtkOpenGLCamera
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
41
void
SetViewTransformMatrix(
const
double
elements[16]);
42
46
void
SetProjectionTransformMatrix(
const
double
elements[16]);
47
48
protected
:
49
vtkExternalOpenGLCamera
();
50
~vtkExternalOpenGLCamera
()
override
{}
51
56
void
ComputeViewTransform
()
override
;
57
58
private
:
59
bool
UserProvidedViewTransform;
60
61
vtkExternalOpenGLCamera
(
const
vtkExternalOpenGLCamera
&) =
delete
;
62
void
operator=(
const
vtkExternalOpenGLCamera
&) =
delete
;
63
};
64
65
#endif
vtkOpenGLCamera.h
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkExternalOpenGLCamera::~vtkExternalOpenGLCamera
~vtkExternalOpenGLCamera() override
Definition:
vtkExternalOpenGLCamera.h:50
vtkOpenGLCamera
OpenGL camera.
Definition:
vtkOpenGLCamera.h:32
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 on Thu Jun 24 2021 15:17:26 for VTK by
1.8.17