class Camera3D


Public Fields

[more]string name
private:
[more]double Height
[more]double Width
[more]double R
[more]double Theta
[more]double Psi
[more]double Phi
[more]double Fov
Parameters
[more]double NearCP
[more]double FarCP
[more]Vector3D Position
ParametersV
[more]Vector3D Target
[more]Vector3D UpVector
[more]Vector3D SideVector
[more]unsigned int Motion_mode

Public Methods

[more] Camera3D()
Constructors / Destructors
[more] ~Camera3D()
[more]inline void setName(const string &name)
void Motion(unsigned int motmode,double r,double theta,double psi);
[more]inline string getName() const
[more]inline unsigned int GetMotionMode(void) const
[more]inline void SetMotionMode(unsigned int mm)
[more]void SetParameters(double r, double theta, double psi, double phi)
[more]inline void SetTarget(double x, double y, double z)
[more]void SetParametersV(double fov, double nCP, double fCP)
[more]inline void SetPosition(double x, double y, double z)
[more]inline void setPsi(double in_psi)
[more]inline void setTheta(double in_theta)
[more]inline void setPhi(double in_phi)
[more]inline void setFov(double in_fov)
[more]inline void setNearCP(double in_nearCP)
[more]inline void setFarCP(double in_farCP)
[more]void CalcVectors()
[more]void RotMotion(double dx, double dy)
[more]void ZoomMotion(double z)
[more]void PanMotion(double dx, double dy)
[more]inline double getFov(void) const
[more]inline double getNearCP(void) const
[more]inline double getFarCP(void) const
[more]inline void LookAt(Vector3D pos, Vector3D targ, Vector3D upv)
[more]void glLookAt(void)
[more]int LoadXML(char* file_name)
Load a camera from a XML file.
[more]int ParseXML(xmlDocPtr doc, xmlNodePtr cur)
[more]string GetXMLnode(string label) const


Documentation

o Camera3D()
Constructors / Destructors

o ~Camera3D()

oinline void setName(const string &name)
void Motion(unsigned int motmode,double r,double theta,double psi);

oinline string getName() const

oinline unsigned int GetMotionMode(void) const

oinline void SetMotionMode(unsigned int mm)

ovoid SetParameters(double r, double theta, double psi, double phi)

oinline void SetTarget(double x, double y, double z)

ovoid SetParametersV(double fov, double nCP, double fCP)

oinline void SetPosition(double x, double y, double z)

oinline void setPsi(double in_psi)

oinline void setTheta(double in_theta)

oinline void setPhi(double in_phi)

oinline void setFov(double in_fov)

oinline void setNearCP(double in_nearCP)

oinline void setFarCP(double in_farCP)

ovoid CalcVectors()

ovoid RotMotion(double dx, double dy)

ovoid ZoomMotion(double z)

ovoid PanMotion(double dx, double dy)

oinline double getFov(void) const

oinline double getNearCP(void) const

oinline double getFarCP(void) const

oinline void LookAt(Vector3D pos, Vector3D targ, Vector3D upv)

ovoid glLookAt(void)

oint LoadXML(char* file_name)
Load a camera from a XML file. (0 if OK, 1 if ERROR)

oint ParseXML(xmlDocPtr doc, xmlNodePtr cur)

ostring GetXMLnode(string label) const

ostring name
private:

odouble Height

odouble Width

odouble R

odouble Theta

odouble Psi

odouble Phi

odouble Fov
Parameters

odouble NearCP

odouble FarCP

oVector3D Position
ParametersV

oVector3D Target

oVector3D UpVector

oVector3D SideVector

ounsigned int Motion_mode


This class has no child classes.

Alphabetic index HTML hierarchy of classes or Java



This page was generated with the help of DOC++.