public

Inheritance Graph

graph BT
	CameraNode
	CameraNode --> AbstractCameraNode
	click CameraNode "classMinSG_1_1CameraNode"
	click AbstractCameraNode "classMinSG_1_1AbstractCameraNode"

Description

[ CameraNode ] > [AbstractCamera] > [ Node ]

Public Types

   
   
typedef Util::Reference < CameraNode > ref_t

Protected Attributes

   
   
Geometry::Angle fovLeft
   
Geometry::Angle fovRight
   
Geometry::Angle fovBottom
   
Geometry::Angle fovTop

Public Functions

   
   
  CameraNode()
   
  ~CameraNode()
   
void applyHorizontalAngle(const Geometry::Angle & angle)
Set the four frustum angles using the given horizontal apex angle and the aspect ratio of the current viewport.
   
void applyHorizontalAngle(float deg)
   
void applyVerticalAngle(const Geometry::Angle & angle)
Set the four frustum angles using the given vertical apex angle and the aspect ratio of the current viewport.
   
void applyVerticalAngle(float deg)
   
void setAngles(const Geometry::Angle & _fovLeft, const Geometry::Angle & _fovRight, const Geometry::Angle & _fovBottom, const Geometry::Angle & _fovTop)
   
void setAngles(float _fovLeftDeg, float _fovRightDeg, float _fovBottomDeg, float _fovTopDeg)
   
void getAngles(float & _fovLeftDeg, float & _fovRightDeg, float & _fovBottomDeg, float & _fovTopDeg) const
   
Geometry::Angle getLeftAngle() const
   
Geometry::Angle getRightAngle() const
   
Geometry::Angle getBottomAngle() const
   
Geometry::Angle getTopAngle() const

Protected Functions

   
   
void updateFrustum()

Documentation

typedef
MinSG::CameraNode::ref_t

public
 
 
typedef Util::Reference < CameraNode > ref_t

Defined in MinSG/Core/Nodes/CameraNode.h:26


variable
MinSG::CameraNode::fovLeft

protected
 
 
Geometry::Angle fovLeft

Defined in MinSG/Core/Nodes/CameraNode.h:64


variable
MinSG::CameraNode::fovRight

protected
 
 
Geometry::Angle fovRight

Defined in MinSG/Core/Nodes/CameraNode.h:65


variable
MinSG::CameraNode::fovBottom

protected
 
 
Geometry::Angle fovBottom

Defined in MinSG/Core/Nodes/CameraNode.h:66


variable
MinSG::CameraNode::fovTop

protected
 
 
Geometry::Angle fovTop

Defined in MinSG/Core/Nodes/CameraNode.h:67


function
MinSG::CameraNode::CameraNode

public
   
   
CameraNode( )

Defined in MinSG/Core/Nodes/CameraNode.h:28


function
MinSG::CameraNode::~CameraNode

public inline virtual
   
   
~CameraNode( )

Defined in MinSG/Core/Nodes/CameraNode.h:29


function
MinSG::CameraNode::applyHorizontalAngle

public
     
     
void applyHorizontalAngle( const Geometry::Angle & angle )

Set the four frustum angles using the given horizontal apex angle and the aspect ratio of the current viewport.

Defined in MinSG/Core/Nodes/CameraNode.h:33


function
MinSG::CameraNode::applyHorizontalAngle

public inline
     
     
void applyHorizontalAngle( float deg )

Defined in MinSG/Core/Nodes/CameraNode.h:34


function
MinSG::CameraNode::applyVerticalAngle

public
     
     
void applyVerticalAngle( const Geometry::Angle & angle )

Set the four frustum angles using the given vertical apex angle and the aspect ratio of the current viewport.

Defined in MinSG/Core/Nodes/CameraNode.h:37


function
MinSG::CameraNode::applyVerticalAngle

public inline
     
     
void applyVerticalAngle( float deg )

Defined in MinSG/Core/Nodes/CameraNode.h:38


function
MinSG::CameraNode::setAngles

public
     
     
void setAngles( const Geometry::Angle & _fovLeft,
  const Geometry::Angle & _fovRight,
  const Geometry::Angle & _fovBottom,
  const Geometry::Angle & _fovTop
)    

Defined in MinSG/Core/Nodes/CameraNode.h:40


function
MinSG::CameraNode::setAngles

public inline
     
     
void setAngles( float _fovLeftDeg,
  float _fovRightDeg,
  float _fovBottomDeg,
  float _fovTopDeg
)    

Defined in MinSG/Core/Nodes/CameraNode.h:42


function
MinSG::CameraNode::getAngles

public const inline
     
     
void getAngles( float & _fovLeftDeg,
  float & _fovRightDeg,
  float & _fovBottomDeg,
  float & _fovTopDeg
) const    

Defined in MinSG/Core/Nodes/CameraNode.h:47


function
MinSG::CameraNode::getLeftAngle

public const inline
   
   
Geometry::Angle getLeftAngle( ) const

Defined in MinSG/Core/Nodes/CameraNode.h:53


function
MinSG::CameraNode::getRightAngle

public const inline
   
   
Geometry::Angle getRightAngle( ) const

Defined in MinSG/Core/Nodes/CameraNode.h:54


function
MinSG::CameraNode::getBottomAngle

public const inline
   
   
Geometry::Angle getBottomAngle( ) const

Defined in MinSG/Core/Nodes/CameraNode.h:55


function
MinSG::CameraNode::getTopAngle

public const inline
   
   
Geometry::Angle getTopAngle( ) const

Defined in MinSG/Core/Nodes/CameraNode.h:56


function
MinSG::CameraNode::updateFrustum

protected virtual
   
   
void updateFrustum( )

Defined in MinSG/Core/Nodes/CameraNode.h:69