org.deegree.rendering.r3d.multiresolution
Class Node

java.lang.Object
  extended by org.deegree.rendering.r3d.multiresolution.Node

public class Node
extends Object

A node of a MultiresolutionMesh.

Version:
$Revision: 29127 $
Author:
Markus Schneider, last edited by: $Author: aschmitz $

Field Summary
 float[][] bbox
          Bounding box of this node.
 int highestOutgoingArc
          Highest id of all arcs leaving from this node.
 int id
          Id of the node.
 int lowestIncomingArc
          Lowest id of all arcs entering this node.
 int lowestOutgoingArc
          Lowest id of all arcs leaving from this node.
static int SIZE
          Size of binary representation (in bytes)
 
Method Summary
static void store(ByteBuffer target, int lowestOutgoingArc, int highestOutgoingArc, int lowestIncomingArc, float[][] bbox)
          Stores the information of a Node in the given ByteBuffer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIZE

public static final int SIZE
Size of binary representation (in bytes)

See Also:
Constant Field Values

id

public final int id
Id of the node.


lowestOutgoingArc

public final int lowestOutgoingArc
Lowest id of all arcs leaving from this node.


highestOutgoingArc

public final int highestOutgoingArc
Highest id of all arcs leaving from this node.


lowestIncomingArc

public final int lowestIncomingArc
Lowest id of all arcs entering this node.


bbox

public final float[][] bbox
Bounding box of this node.

Method Detail

store

public static void store(ByteBuffer target,
                         int lowestOutgoingArc,
                         int highestOutgoingArc,
                         int lowestIncomingArc,
                         float[][] bbox)
Stores the information of a Node in the given ByteBuffer.

Parameters:
target - buffer where the binary representation is written to
lowestOutgoingArc - lowest id of all arcs leaving from this node
highestOutgoingArc - highest id of all arcs leaving from this node
lowestIncomingArc - lowest id of all arcs entering this node
bbox - bounding box of this node


Copyright © 2011. All Rights Reserved.