Hide menu
Loading...
Searching...
No Matches

Defines a camera (point of view) in a scene. More...

#include <cadex/PMI/Camera.hxx>

Inheritance diagram for cadex::PMI::Camera:
cadex::BaseObject

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)
 

Detailed Description

Defines a camera (point of view) in a scene.

See also
SavedView