cz.cuni.jagrlib
Class CSGNode.Child

java.lang.Object
  extended by cz.cuni.jagrlib.CSGNode.Child
Enclosing class:
CSGNode

protected static class CSGNode.Child
extends java.lang.Object


Field Summary
 TrMatrix m
          Transform matrix from child-object space to parent space.
 TrMatrix mInv
          Transform matrix from parent space to child-object space (for rays, ..).
 SceneNode node
          Reference to the child node.
 
Constructor Summary
CSGNode.Child(SceneNode _node, TrMatrix _m, TrMatrix _mInv)
           
 
Method Summary
 TrMatrix getInvMatrix()
           
 TrMatrix getMatrix()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

node

public SceneNode node
Reference to the child node.


m

public TrMatrix m
Transform matrix from child-object space to parent space.


mInv

public TrMatrix mInv
Transform matrix from parent space to child-object space (for rays, ..).

Constructor Detail

CSGNode.Child

public CSGNode.Child(SceneNode _node,
                     TrMatrix _m,
                     TrMatrix _mInv)
Method Detail

getMatrix

public TrMatrix getMatrix()

getInvMatrix

public TrMatrix getInvMatrix()