public abstract

Inheritance Graph

graph BT
	AbstractCameraNode
	AbstractCameraNode --> Node
	CameraNode --> AbstractCameraNode
	CameraNodeOrtho --> AbstractCameraNode
	click AbstractCameraNode "classMinSG_1_1AbstractCameraNode"
	click Node "classMinSG_1_1Node"
	click CameraNode "classMinSG_1_1CameraNode"
	click CameraNodeOrtho "classMinSG_1_1CameraNodeOrtho"

Description

(abstract)[AbstractCamera] > [ Node ]

Public Types

   
   
typedef Util::Reference < AbstractCameraNode > ref_t

Protected Attributes

   
   
Geometry::Frustum frustum

Protected Functions

   
   
  AbstractCameraNode()
   
  AbstractCameraNode(const AbstractCameraNode & o)

Public Functions

     
     
  ~AbstractCameraNode()  
     
void doDisplay( FrameContext & context, const RenderParam & rp)
> [ Node ]
     
int getWidth() const  
     
int getHeight() const  
     
float getNearPlane() const  
     
float getFarPlane() const  
     
const Geometry::Frustum & getFrustum() const  
     
const Geometry::Rect_i & getViewport() const  
     
bool isScissorEnabled() const  
     
const Geometry::Rect_i & getScissor() const  
     
void setViewport(const Geometry::Rect_i & _viewport, bool scissor)  
     
void setNearFar(float near, float far)  
     
void setScissorEnabled(bool enabled)  
     
void setScissor(const Geometry::Rect_i & rect)  
     
Geometry::Frustum::intersection_t testBoxFrustumIntersection(const Geometry::Box & b) const  
     
void updateFrustum()  

Documentation

typedef
MinSG::AbstractCameraNode::ref_t

public
 
 
typedef Util::Reference < AbstractCameraNode > ref_t

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:35


variable
MinSG::AbstractCameraNode::frustum

protected
 
 
Geometry::Frustum frustum

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:75


function
MinSG::AbstractCameraNode::AbstractCameraNode

protected
   
   
AbstractCameraNode( )

Default constructor

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


function
MinSG::AbstractCameraNode::AbstractCameraNode

protected
     
     
AbstractCameraNode( const AbstractCameraNode & o )

Copy constructor

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:31


function
MinSG::AbstractCameraNode::~AbstractCameraNode

public virtual
   
   
~AbstractCameraNode( )

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


function
MinSG::AbstractCameraNode::doDisplay

public virtual
     
     
void doDisplay( FrameContext & context,
  const RenderParam & rp
)    
> [ Node ]

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


function
MinSG::AbstractCameraNode::getWidth

public const inline
   
   
int getWidth( ) const

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


function
MinSG::AbstractCameraNode::getHeight

public const inline
   
   
int getHeight( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:43


function
MinSG::AbstractCameraNode::getNearPlane

public const inline
   
   
float getNearPlane( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:44


function
MinSG::AbstractCameraNode::getFarPlane

public const inline
   
   
float getFarPlane( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:45


function
MinSG::AbstractCameraNode::getFrustum

public const inline
   
   
const Geometry::Frustum & getFrustum( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:46


function
MinSG::AbstractCameraNode::getViewport

public const inline
   
   
const Geometry::Rect_i & getViewport( ) const

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


function
MinSG::AbstractCameraNode::isScissorEnabled

public const inline
   
   
bool isScissorEnabled( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:48


function
MinSG::AbstractCameraNode::getScissor

public const inline
   
   
const Geometry::Rect_i & getScissor( ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:49


function
MinSG::AbstractCameraNode::setViewport

public inline
     
     
void setViewport( const Geometry::Rect_i & _viewport,
  bool scissor
)    

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:51


function
MinSG::AbstractCameraNode::setNearFar

public
     
     
void setNearFar( float near,
  float far
)    

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:58


function
MinSG::AbstractCameraNode::setScissorEnabled

public inline
     
     
void setScissorEnabled( bool enabled )

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:59


function
MinSG::AbstractCameraNode::setScissor

public inline
     
     
void setScissor( const Geometry::Rect_i & rect )

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:60


function
MinSG::AbstractCameraNode::testBoxFrustumIntersection

public const inline
     
     
Geometry::Frustum::intersection_t testBoxFrustumIntersection( const Geometry::Box & b ) const

Defined in MinSG/Core/Nodes/AbstractCameraNode.h:62


function
MinSG::AbstractCameraNode::updateFrustum

public virtual
   
   
void updateFrustum( )

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