pCon.planner Plugin SDK  Version 8.8.1
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
Public Member Functions | List of all members
X3g::Plugin::Camera Class Reference

Implementation of a common camera without visual representation in the planning. More...

Inheritance diagram for X3g::Plugin::Camera:
Inheritance graph
[legend]

Public Member Functions

 Camera ()
 Default Constructor. More...
 
 Camera (X3g::Plugin::ICamera^ pOther)
 Copy Constructor. More...
 
virtual void GetLookAt ([Out] X3g::Plugin::GeVec3d% pEye,[Out] X3g::Plugin::GeVec3d% pCenter,[Out] X3g::Plugin::GeVec3d% pUp)
 Returns the camera postion and the camera target. More...
 
virtual void SetLookAt (X3g::Plugin::GeVec3d pEye, X3g::Plugin::GeVec3d pCenter, X3g::Plugin::GeVec3d pUp)
 Sets the camera postion and the camera target. More...
 
virtual void ZoomToExtents (IEnumerable< DbEntity^ >^pEntities, double pMargin, double pAspect)
 Fits camera to given entities. More...
 
virtual void CopyFrom (X3g::Plugin::ICamera^ pOther)
 Assigns values of another camera object to this. More...
 
- Public Member Functions inherited from X3g::Plugin::ICamera
void ZoomToExtents (ReadOnlyCollection< String^ >^pEntities, double pMargin, double pAspect)
 Fits camera to given entities. More...
 

Additional Inherited Members

- Properties inherited from X3g::Plugin::ICamera
System::String^  Name
 Optional name of the camera. More...
 
CameraProjection Projection
 The type of camera projection. More...
 
double Fov
 The fov (field of view) of perspective camera in degrees. More...
 
double YMag
 Y magnification of orthographic camera. More...
 
bool DofEnabled
 True if depth of field is enabled. More...
 
double DofDistance
 The depth of field distance. More...
 
double DofAperture
 The depth of field aperture/strength. More...
 

Detailed Description

Implementation of a common camera without visual representation in the planning.


This camera is not persistent.

Constructor & Destructor Documentation

X3g::Plugin::Camera::Camera ( )

Default Constructor.

X3g::Plugin::Camera::Camera ( X3g::Plugin::ICamera pOther)

Copy Constructor.

Member Function Documentation

virtual void X3g::Plugin::Camera::CopyFrom ( X3g::Plugin::ICamera pOther)
virtual

Assigns values of another camera object to this.

Implements X3g::Plugin::ICamera.

virtual void X3g::Plugin::Camera::GetLookAt ( [Out] X3g::Plugin::GeVec3d pEye,
[Out] X3g::Plugin::GeVec3d pCenter,
[Out] X3g::Plugin::GeVec3d pUp 
)
virtual

Returns the camera postion and the camera target.

Implements X3g::Plugin::ICamera.

virtual void X3g::Plugin::Camera::SetLookAt ( X3g::Plugin::GeVec3d  pEye,
X3g::Plugin::GeVec3d  pCenter,
X3g::Plugin::GeVec3d  pUp 
)
virtual

Sets the camera postion and the camera target.

Implements X3g::Plugin::ICamera.

void X3g::Plugin::Camera::ZoomToExtents ( IEnumerable< DbEntity^ >^  pEntities,
double  pMargin,
double  pAspect 
)
virtual

Fits camera to given entities.

Implements X3g::Plugin::ICamera.