Public Member Functions | Public Attributes | List of all members
AnimationCamera Struct Reference

This class defines the camera of animation and how to create and use it. More...

#include <AnimationModel.h>

Public Member Functions

 AnimationCamera ()
 
void GetCameraPosition (DPoint3dP position)
 Gets the position of current camera. More...
 
void GetOrientation (RotMatrixP rMatrix)
 Gets the orientation of current camera. More...
 
void GetOffset (DPoint2dP offset)
 Gets the offset value of current camera. More...
 
double GetViewSize ()
 Gets the view size. More...
 
double GetFocalLength ()
 Gets the focal length of current camera. More...
 
double GetFrontClip ()
 Gets the front clip of current camera. More...
 
double GetBackClip ()
 Gets the back clip of current camera. More...
 
double GetCameraAngle ()
 Gets the angle of current camera. More...
 
void GetOrigin (DPoint3dP origin)
 Gets the original point. More...
 
void GetDelta (DPoint3dP delta)
 Gets delta value for current camera. More...
 
void Reset ()
 Resets current camera parameters. More...
 

Public Attributes

DPoint3d m_position
 
DPoint3d m_origin
 
DPoint3d m_delta
 
RotMatrix m_rMatrix
 
DPoint2d m_offset
 
double m_size
 
double m_frontClip
 
double m_backClip
 
double m_cameraAngle
 
double m_focalLength
 

Detailed Description

This class defines the camera of animation and how to create and use it.

Constructor & Destructor Documentation

Member Function Documentation

double GetBackClip ( )

Gets the back clip of current camera.

Returns
The back clip value
double GetCameraAngle ( )

Gets the angle of current camera.

Returns
The angle of current camera
void GetCameraPosition ( DPoint3dP  position)

Gets the position of current camera.

Parameters
[out]positionThe point used to store current position of the camera
void GetDelta ( DPoint3dP  delta)

Gets delta value for current camera.

Parameters
[out]deltaA pointer to a DPoint3d used to save the delta value
double GetFocalLength ( )

Gets the focal length of current camera.

Returns
The focal length value
double GetFrontClip ( )

Gets the front clip of current camera.

Returns
The front clip value
void GetOffset ( DPoint2dP  offset)

Gets the offset value of current camera.

Parameters
[out]offsetA pointer to a DPointer2d used to store current offset value of the camera
void GetOrientation ( RotMatrixP  rMatrix)

Gets the orientation of current camera.

Parameters
[out]rMatrixA pointer to a RotMatrix used to store current orientation of the camera
void GetOrigin ( DPoint3dP  origin)

Gets the original point.

Parameters
[out]originA pointer to a DPoint3d used to save the original point
double GetViewSize ( )

Gets the view size.

Returns
The current view size
void Reset ( )

Resets current camera parameters.

Member Data Documentation

double m_backClip
double m_cameraAngle
DPoint3d m_delta
double m_focalLength
double m_frontClip
DPoint2d m_offset
DPoint3d m_origin
DPoint3d m_position
RotMatrix m_rMatrix
double m_size

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.