VTK
dox
Rendering
OpenGL
vtkOpenGLCamera.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkOpenGLCamera.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
=========================================================================*/
23
#ifndef vtkOpenGLCamera_h
24
#define vtkOpenGLCamera_h
25
26
#include "vtkRenderingOpenGLModule.h"
// For export macro
27
#include "
vtkCamera.h
"
28
29
class
vtkOpenGLRenderer
;
30
31
class
VTKRENDERINGOPENGL_EXPORT
vtkOpenGLCamera
:
public
vtkCamera
32
{
33
public
:
34
static
vtkOpenGLCamera
*
New
();
35
vtkTypeMacro(
vtkOpenGLCamera
,
vtkCamera
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent) VTK_OVERRIDE;
37
41
void
Render
(
vtkRenderer
*ren);
42
43
void
UpdateViewport
(
vtkRenderer
*ren);
44
45
protected
:
46
vtkOpenGLCamera
() {}
47
~vtkOpenGLCamera
() {}
48
private
:
49
vtkOpenGLCamera
(
const
vtkOpenGLCamera
&) VTK_DELETE_FUNCTION;
50
void
operator=(
const
vtkOpenGLCamera
&) VTK_DELETE_FUNCTION;
51
};
52
53
#endif
vtkCamera::New
static vtkCamera * New()
Construct camera instance with its focal point at the origin, and position=(0,0,1).
vtkOpenGLCamera::vtkOpenGLCamera
vtkOpenGLCamera()
Definition:
vtkOpenGLCamera.h:46
vtkCamera::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkCamera
a virtual camera for 3D rendering
Definition:
vtkCamera.h:50
vtkOpenGLRenderer
OpenGL renderer.
Definition:
vtkOpenGLRenderer.h:33
vtkCamera.h
vtkCamera::UpdateViewport
virtual void UpdateViewport(vtkRenderer *vtkNotUsed(ren))
Update the viewport.
Definition:
vtkCamera.h:592
vtkOpenGLCamera
OpenGL camera.
Definition:
vtkOpenGLCamera.h:31
vtkOpenGLCamera::~vtkOpenGLCamera
~vtkOpenGLCamera()
Definition:
vtkOpenGLCamera.h:47
vtkCamera::Render
virtual void Render(vtkRenderer *)
This method causes the camera to set up whatever is required for viewing the scene.
Definition:
vtkCamera.h:544
vtkRenderer
abstract specification for renderers
Definition:
vtkRenderer.h:63
Generated by
1.8.17