|
CFx SDK Documentation 2024 SP0
|
#include <BcfOrthogonalCamera.h>
Public Member Functions | |
| ODRX_DECLARE_MEMBERS (OdBcfOrthogonalCamera) | |
| OdBcfOrthogonalCamera () | |
| virtual OdResult | inFields (TiXmlElement *pParent) ODRX_OVERRIDE |
| virtual OdResult | outFields (TiXmlElement *pParent) const ODRX_OVERRIDE |
| virtual bool | validate () const ODRX_OVERRIDE |
| const OdBcfPointPtr & | getCameraViewPoint () const |
| bool | isCameraViewPointUnset () const |
| const OdBcfDirectionPtr & | getCameraDirection () const |
| bool | isCameraDirectionUnset () const |
| const OdBcfDirectionPtr & | getCameraUpVector () const |
| bool | isCameraUpVectorUnset () const |
| const double & | getViewToWorldScale () const |
| bool | isViewToWorldScaleUnset () const |
Public Member Functions inherited from OdBcf::OdBcfElement | |
| ODRX_DECLARE_MEMBERS (OdBcfElement) | |
| virtual OdResult | inFields (TiXmlElement *pParent)=0 |
| virtual OdResult | outFields (TiXmlElement *pParent) const =0 |
| virtual bool | validate () const =0 |
Public Member Functions inherited from OdRxObject | |
| ODRX_HEAP_OPERATORS () | |
| OdRxObject () | |
| virtual | ~OdRxObject () |
| virtual OdRxObject * | queryX (const OdRxClass *pClass) const |
| virtual OdRxObject * | x (const OdRxClass *pClass) const |
| virtual OdRxClass * | isA () const |
| virtual void | addRef ()=0 |
| virtual void | release ()=0 |
| virtual long | numRefs () const |
| bool | isKindOf (const OdRxClass *pClass) const |
| virtual OdRxObjectPtr | clone () const |
| virtual void | copyFrom (const OdRxObject *pSource) |
| virtual OdRx::Ordering | comparedTo (const OdRxObject *pOther) const |
| virtual bool | isEqualTo (const OdRxObject *pOther) const |
Static Public Member Functions | |
| static OdSmartPtr< OdBcfOrthogonalCamera > | createObject (const OdBcfPointPtr &pCameraViewPoint, const OdBcfDirectionPtr &pCameraDirection, const OdBcfDirectionPtr &pCameraUpVector, double viewToWorldScale) |
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_viewToWorldScale |
A class that stores and operates an orthogonal camera data within the BCF format.
Definition at line 53 of file BcfOrthogonalCamera.h.
| OdBcf::OdBcfOrthogonalCamera::OdBcfOrthogonalCamera | ( | ) |
Creates a new orthogonal camera object with default parameters.
|
static |
Creates a new orthogonal camera object.
| pCameraViewPoint | [in] A smart pointer to the object that represents the camera view point. |
| pCameraDirection | [in] A smart pointer to the object that represents the camera direction. |
| pCameraUpVector | [in] A smart pointer to the object that represents the camera up vector. |
| viewToWorldScale | [in] A value of the view to world scale. |
| const OdBcfDirectionPtr & OdBcf::OdBcfOrthogonalCamera::getCameraDirection | ( | ) | const |
Retrieves the camera direction.
| const OdBcfDirectionPtr & OdBcf::OdBcfOrthogonalCamera::getCameraUpVector | ( | ) | const |
Retrieves the camera up-vector.
| const OdBcfPointPtr & OdBcf::OdBcfOrthogonalCamera::getCameraViewPoint | ( | ) | const |
Retrieves the camera viewpoint.
| const double & OdBcf::OdBcfOrthogonalCamera::getViewToWorldScale | ( | ) | const |
Retrieves the view-to-world scale of the camera.
|
virtual |
Reads XML data into ODA data structures.
| pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
| bool OdBcf::OdBcfOrthogonalCamera::isCameraDirectionUnset | ( | ) | const |
Defines whether the camera direction is not initialized.
| bool OdBcf::OdBcfOrthogonalCamera::isCameraUpVectorUnset | ( | ) | const |
Defines whether the camera up-vector is not initialized.
| bool OdBcf::OdBcfOrthogonalCamera::isCameraViewPointUnset | ( | ) | const |
Defines whether the camera viewpoint is not initialized.
| bool OdBcf::OdBcfOrthogonalCamera::isViewToWorldScaleUnset | ( | ) | const |
Defines whether the view-to-world scale of the camera is not initialized.
| OdBcf::OdBcfOrthogonalCamera::ODRX_DECLARE_MEMBERS | ( | OdBcfOrthogonalCamera | ) |
|
virtual |
Writes data into XML structures.
| pParent | [in] A pointer to the parent element of the data structure. |
Implements OdBcf::OdBcfElement.
|
virtual |
Checks whether the orthogonal camera instance has all required fields initialized.
Implements OdBcf::OdBcfElement.
|
protected |
The camera direction.
Definition at line 162 of file BcfOrthogonalCamera.h.
|
protected |
The camera up-vector.
Definition at line 164 of file BcfOrthogonalCamera.h.
|
protected |
The camera view point.
Definition at line 160 of file BcfOrthogonalCamera.h.
|
protected |
The view-to-world scale of the camera.
Definition at line 166 of file BcfOrthogonalCamera.h.