API Reference > Namespaces > OdPdfPublish Namespace > Classes > OdCamera Class
OdCamera Class
OdPdfPublish__OdCameraOdPdfPublish__OdCameraOdPdfPublish__OdCamera
Syntax
C++
class OdCamera : public OdObject;

PdfPublishCamera.h

This class implements handling of a camera position for a view in .pdf documents created with Publish SDK.

 
Name 
Description 
 
Destroys a camera object. 
 
Name 
Description 
 
Changes the camera position and its target by moving it in a specified direction. The move direction is defined by moving step sizes along the x-, y-, and z-coordinate axes. Move amounts are represented as world-space measurement units.
 
 
Returns the current camera field information. The method fills the passed double values with width and height of the camera field and returns them to a calling subroutine.
 
 
Returns the camera's current near limit. The method fills a passed double value with the current near limit and returns it to a calling subroutine.
 
 
Returns the camera's current position. The method fills a passed three-dimensional point object and returns it to a calling subroutine.
 
 
Returns the camera's current projection. The camera projection is defined by the projection type and oblique skews in horizontal and vertical directions. The method fills the passed values with the current type of projection and obligue skew values and returns them to a calling subroutine.
 
 
Returns the current camera target. The method fills a passed three-dimensional point object and returns it to a calling subroutine.
 
 
Returns the current camera up-vector. The method fills a passed three-dimensional vector object and returns it to a calling subroutine.
 
 
Orbits the camera about its target with a specified angle to the right and up.
 
 
pan 
Changes the camera position and its target by moving it in the xy-plane by the specified degrees. The camera position and distance between the camera and its target remain unchanged.
 
 
roll 
Rotates the camera around its target with a specified angle (in degrees). The camera position, target and field remain unchanged. If the rotation angle is positive, the camera rotation is clockwise, otherwise the camera rotation is counter-clockwise.
 
 
Sets the camera field.
 
 
Sets the camera's near limit.
 
 
Sets the camera position.
 
 
Sets the camera projection. The camera projection is defined with a projection type and oblique skews in horizontal and vertical directions.
 
 
Sets the camera target, which is the location the camera is pointed at.
 
 
Sets the camera up-vector that defines the vertical up direction of the camera.
 
 
zoom 
Zooms the camera view field by a specified scale factor.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.