API Reference > Classes > PRC Graphical Classes > OdPrcCamera Class
OdPrcCamera Class
OdPrcCameraOdPrcCameraOdPrcCamera
Syntax
C++
class OdPrcCamera : public OdPrcReferencedBase;

PrcCamera.h

 

Class stores information about a camera.

 
Name 
Description 
 
Destroys an instance of a PRC entity. 
 
Name 
Description 
 
This is the overview for the attributeData method overload. 
 
Returns the OdGsCache object currently assigned to the PRC entity. 
 
id 
Returns the PRC entity ID. 
 
Returns whether the PRC entity is persistent (true) or not (false). 
 
name 
This is the overview for the name method overload. 
 
Returns the type of the PRC entity. 
 
Assigns the specified OdGsCache to the PRC entity.
 
OdPrcReferencedBase Class
 
Name 
Description 
 
Returns the current CAD identifier for the PRC object. 
 
Returns the current persistent CAD identifier for the PRC object. 
 
Returns an explicit unique name for "this" entity that can be referenced through PDF or JavaScript. In the case of error, it returns an empty string.
 
 
id 
Returns the current object identifier for the object. 
 
Returns true if the object is persistent or false in the other case. 
 
Returns the PRC object identifier. 
 
Sets a new CAD identifier value for the PRC object.  
 
Sets a new persistent CAD identifier value for the PRC object.  
 
Sets a new PRC object identifier.  
OdPrcCamera Class
 
Name 
Description 
 
Returns the current aspect ratio of X to Y. 
 
This is the overview for the location method overload. 
 
This is the overview for the lookAt method overload. 
 
Returns the current value of the orthographic flag. The orthographic flag determines whether the projection is orthographic (true) or perspective (false). 
 
Sets a new value of the aspect ratio of X to Y.
 
 
Sets a new value of the orthographic flag. The orthographic flag determines whether the projection is orthographic (true) or perspective (false).
 
 
Sets a new value of the field angle on the x-direction.
 
 
Sets a new value of the field angle on the y-direction of the camera.
 
 
Sets a new value of the far clipping plane distance.
 
 
Sets a new value of the near clipping plane distance.
 
 
Sets a new value of the zoom factor.
 
 
up 
This is the overview for the up method overload. 
 
xFov 
Returns the current value of the field angle on the x-direction. The field angle is returned in radians. 
 
yFov 
Returns the current field angle on the y-direction of the camera. The angle is returned in radians. 
 
zFar 
Returns the current far clipping plane distance. 
 
Returns the current near clipping plane distance. 
 
Returns the current zoom factor. 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.