2 #ifndef _YI_PERSPECTIVE_CAMERA_SCENE_NODE_H_ 3 #define _YI_PERSPECTIVE_CAMERA_SCENE_NODE_H_ 60 static std::unique_ptr<CYIPerspectiveCameraSceneNode>
BuildDefaultCamera(
const CYIString &name,
float fRegionOfInterestDistance,
float fRegionOfInterestWidth,
float fRegionOfInterestHeight);
122 void SetFOV(
float fFovYDegrees);
151 glm::vec3 m_nearPlaneNormal;
152 glm::vec3 m_farPlaneNormal;
153 glm::vec3 m_topPlaneNormal;
154 glm::vec3 m_bottomPlaneNormal;
155 glm::vec3 m_rightPlaneNormal;
156 glm::vec3 m_leftPlaneNormal;
157 glm::vec3 m_worldPosition;
158 glm::vec3 m_farPlaneCenter;
159 glm::vec3 m_nearPlaneCenter;
163 float m_fAspectRatio;
175 #endif // _YI_PERSPECTIVE_CAMERA_SCENE_NODE_H_ float GetAspectRatio() const
Container class for Unicode strings. Conceptually, a CYIString object is a sequence of Unicode charac...
Definition: YiString.h:35
void SetNearPlane(float fNearZ)
void SetFOV(float fFovYDegrees)
Provides a base for the definition of camera objects.
Definition: YiAbstractCameraSceneNode.h:30
#define YI_TYPE_BASES(...)
Definition: YiRtti.h:350
static std::unique_ptr< CYIPerspectiveCameraSceneNode > BuildDefaultCamera(const CYIString &name, float fRegionOfInterestDistance, float fRegionOfInterestWidth, float fRegionOfInterestHeight)
virtual CYIString GetDumpTreeString() const override
virtual void TransformUpdated() override
static const float DEFAULT_FRUSTUM_DISTANCE
Definition: YiPerspectiveCameraSceneNode.h:48
void SetFarPlane(float fFarZ)
bool IsInViewVolume(CYISceneNode *pCandidate) const
void SetAspectRatio(float fAspectRatio)
A scene node is the base type for all nodes which are used by the scene manager; it is an integral pa...
Definition: YiSceneNode.h:114
virtual glm::mat4 CalculateProjectionMatrix() const override
virtual ~CYIPerspectiveCameraSceneNode()
This class represents an Axis-Aligned Bounding Box.
Definition: YiAABB.h:24
CYIPerspectiveCameraSceneNode()
static void ConfigurePerspective(CYIPerspectiveCameraSceneNode *pCamera, float fRegionOfInterestDistance, float fRegionOfInterestWidth, float fRegionOfInterestHeight)
float GetFarPlane() const
Definition: YiPerspectiveCameraSceneNode.h:39
float GetNearPlane() const