CFx SDK Documentation
2023 SP0
|
#include <BcfPerspectiveCamera.h>
Static Public Member Functions | |
static OdSmartPtr< OdBcfPerspectiveCamera > | createObject (const OdBcfPointPtr &pCameraViewPoint, const OdBcfDirectionPtr &pCameraDirection, const OdBcfDirectionPtr &pCameraUpVector, double fieldOfView) |
Static Public Member Functions inherited from OdRxObject | |
static OdRxObjectPtr | cast (const OdRxObject *pointer) |
static OdRxClass * | desc () |
Protected Attributes | |
OdBcfPointPtr | m_pCameraViewPoint |
OdBcfDirectionPtr | m_pCameraDirection |
OdBcfDirectionPtr | m_pCameraUpVector |
double | m_fieldOfView |
A class that contains PerspectiveCamera data type.
Definition at line 45 of file BcfPerspectiveCamera.h.
OdBcf::OdBcfPerspectiveCamera::OdBcfPerspectiveCamera | ( | ) |
Creates a new object with default parameters.
|
static |
Creates a new perspective camera object.
pCameraViewPoint | [in] A pointer to camera view point. |
pCameraDirection | [in] A pointer to camera direction. |
pCameraUpVector | [in] A pointer to camera up vector. |
fieldOfView | [in] A value of camera field of view. |
OdBcf::OdBcfPerspectiveCamera::DECLARE_CONST_ACCESSORS | ( | CameraDirection | , |
OdBcfDirectionPtr | , | ||
m_pCameraDirection | |||
) |
OdBcf::OdBcfPerspectiveCamera::DECLARE_CONST_ACCESSORS | ( | CameraUpVector | , |
OdBcfDirectionPtr | , | ||
m_pCameraUpVector | |||
) |
OdBcf::OdBcfPerspectiveCamera::DECLARE_CONST_ACCESSORS | ( | CameraViewPoint | , |
OdBcfPointPtr | , | ||
m_pCameraViewPoint | |||
) |
OdBcf::OdBcfPerspectiveCamera::DECLARE_CONST_ACCESSORS | ( | FieldOfView | , |
double | , | ||
m_fieldOfView | |||
) |
|
virtual |
Reads XML data into ODA data structures.
pParent | [in] A pointer to parent element of the data structure. |
Implements OdBcf::OdBcfElement.
OdBcf::OdBcfPerspectiveCamera::ODRX_DECLARE_MEMBERS | ( | OdBcfPerspectiveCamera | ) |
|
virtual |
Writes data into XML structures.
pParent | [in] A pointer to parent element of the data structure. |
Implements OdBcf::OdBcfElement.
|
virtual |
Checks if instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
Definition at line 102 of file BcfPerspectiveCamera.h.
|
protected |
Definition at line 100 of file BcfPerspectiveCamera.h.
|
protected |
Definition at line 101 of file BcfPerspectiveCamera.h.
|
protected |
Definition at line 99 of file BcfPerspectiveCamera.h.