Defines a camera (point of view) in a scene. More...
#include <cadex/PMI/Camera.hxx>
Public Member Functions | |
| Camera () | |
| Constructor. | |
| Camera (const Geom::Point &theLocation, const Geom::Point &theTargetGeomPoint, const Geom::Direction &theUpDirection) | |
| Constructor. | |
| Camera (const Geom::Point &theLocation, const Geom::Point &theTargetGeomPoint, const Geom::Direction &theUpDirection, const UTF16String &theName) | |
| Constructor. | |
| void | SetLocation (const Geom::Point &theLocation) |
| Sets the location of the camera. | |
| Geom::Point | Location () const |
| Returns the location of the camera. | |
| void | SetTargetPoint (const Geom::Point &theTargetPoint) |
| Sets the target point of the camera. | |
| Geom::Point | TargetPoint () const |
| Returns the point that the camera is looking at. | |
| void | SetUpDirection (const Geom::Direction &theUpDirection) |
| Sets the "up" direction of the camera. | |
| Geom::Direction | UpDirection () const |
| Returns the "up" direction of the camera. | |
| void | SetName (const UTF16String &theName) |
| Sets the name of the camera. | |
| UTF16String | Name () const |
| Returns the name of the camera. | |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Static Public Member Functions | |
| static bool | CompareType (const BaseObject &theObject) |
| Returns true if theObject has the Camera type. | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Defines a camera (point of view) in a scene.
| cadex::PMI::Camera::Camera | ( | ) |
Constructor.
| cadex::PMI::Camera::Camera | ( | const Geom::Point & | theLocation, |
| const Geom::Point & | theTargetGeomPoint, | ||
| const Geom::Direction & | theUpDirection ) |
Constructor.
| cadex::PMI::Camera::Camera | ( | const Geom::Point & | theLocation, |
| const Geom::Point & | theTargetGeomPoint, | ||
| const Geom::Direction & | theUpDirection, | ||
| const UTF16String & | theName ) |
Constructor.
|
static |
Returns true if theObject has the Camera type.
| Geom::Point cadex::PMI::Camera::Location | ( | ) | const |
Returns the location of the camera.
| UTF16String cadex::PMI::Camera::Name | ( | ) | const |
Returns the name of the camera.
| void cadex::PMI::Camera::SetLocation | ( | const Geom::Point & | theLocation | ) |
Sets the location of the camera.
| void cadex::PMI::Camera::SetName | ( | const UTF16String & | theName | ) |
Sets the name of the camera.
| void cadex::PMI::Camera::SetTargetPoint | ( | const Geom::Point & | theTargetPoint | ) |
Sets the target point of the camera.
| void cadex::PMI::Camera::SetUpDirection | ( | const Geom::Direction & | theUpDirection | ) |
Sets the "up" direction of the camera.
| Geom::Point cadex::PMI::Camera::TargetPoint | ( | ) | const |
Returns the point that the camera is looking at.
| Geom::Direction cadex::PMI::Camera::UpDirection | ( | ) | const |
Returns the "up" direction of the camera.