public

Inheritance Graph

graph BT
	GeometryNode
	GeometryNode --> Node
	BillboardNode --> GeometryNode
	KeyFrameAnimationNode --> GeometryNode
	click GeometryNode "classMinSG_1_1GeometryNode"
	click Node "classMinSG_1_1Node"
	click BillboardNode "classMinSG_1_1BillboardNode"
	click KeyFrameAnimationNode "classMinSG_1_1KeyFrameAnimationNode"

Description

Node containing geometry.

[ GeometryNode ] > [ Node ]

Protected Attributes

   
   
Util::Reference < Rendering::Mesh > mesh

Public Functions

     
     
  GeometryNode()  
     
  GeometryNode(const Util::Reference < Rendering::Mesh > & _mesh)  
     
  ~GeometryNode()  
     
void setMesh(const Util::Reference < Rendering::Mesh > & newMesh)  
     
Rendering::Mesh * getMesh() const  
     
bool hasMesh() const  
     
uint32_t getTriangleCount() const  
     
uint32_t getVertexCount() const  
     
void doDisplay( FrameContext & context, const RenderParam & rp)
> [ Node ]
     
size_t getMemoryUsage() const  

Protected Functions

   
   
  GeometryNode(const GeometryNode & source)

Documentation

variable
MinSG::GeometryNode::mesh

protected
 
 
Util::Reference < Rendering::Mesh > mesh

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


function
MinSG::GeometryNode::GeometryNode

public
   
   
GeometryNode( )

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


function
MinSG::GeometryNode::GeometryNode

public
     
     
GeometryNode( const Util::Reference < Rendering::Mesh > & _mesh )

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


function
MinSG::GeometryNode::~GeometryNode

public virtual
   
   
~GeometryNode( )

Defined in MinSG/Core/Nodes/GeometryNode.h:36


function
MinSG::GeometryNode::setMesh

public
     
     
void setMesh( const Util::Reference < Rendering::Mesh > & newMesh )

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


function
MinSG::GeometryNode::getMesh

public const inline
   
   
Rendering::Mesh * getMesh( ) const

Defined in MinSG/Core/Nodes/GeometryNode.h:39


function
MinSG::GeometryNode::hasMesh

public const inline
   
   
bool hasMesh( ) const

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


function
MinSG::GeometryNode::getTriangleCount

public const
   
   
uint32_t getTriangleCount( ) const

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


function
MinSG::GeometryNode::getVertexCount

public const
   
   
uint32_t getVertexCount( ) const

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


function
MinSG::GeometryNode::doDisplay

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

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


function
MinSG::GeometryNode::getMemoryUsage

public const virtual
   
   
size_t getMemoryUsage( ) const

Get the amount of memory that is required to store this node. The returned value does not include the size of the mesh.

Returns

Amount of memory in bytes

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


function
MinSG::GeometryNode::GeometryNode

protected explicit
     
     
GeometryNode( const GeometryNode & source )

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