Inheritance Graph
graph BT
FakeInstanceNode
FakeInstanceNode --> Node
click FakeInstanceNode "classMinSG_1_1FakeInstanceNode"
click Node "classMinSG_1_1Node"
Description
Node to display a fake instance of another node.
A FakeInstanceNode object refers to another node inside the scene graph. When the FakeInstanceNode object is to be displayed, it changes the camera and displays the other node. The other node is displayed with the transformation of the FakeInstanceNode object applied. Therefore, the FakeInstanceNode can be used to display a node multiple times with different transformations, but without the need to have the node multiple times in memory.
Note: The FakeInstanceNode is no replacement for a real instance and might lead to problems when used. Only use it if there is no better alternative.
Author: Benjamin Eikel
Date: 2012-10-22
Public Functions
Documentation
function
MinSG::FakeInstanceNode::FakeInstanceNode
Defined in MinSG/Ext/Nodes/FakeInstanceNode.h:45
function
MinSG::FakeInstanceNode::~FakeInstanceNode
Defined in MinSG/Ext/Nodes/FakeInstanceNode.h:47
function
MinSG::FakeInstanceNode::doDisplay
o Render the node. All matrix operations and states must be applied when called. This function is internally called by the default to display(…) method.
Defined in MinSG/Ext/Nodes/FakeInstanceNode.h:49
function
MinSG::FakeInstanceNode::getFakePrototype
Defined in MinSG/Ext/Nodes/FakeInstanceNode.h:51
function
MinSG::FakeInstanceNode::setFakePrototype
Defined in MinSG/Ext/Nodes/FakeInstanceNode.h:54