|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.rendering.r3d.multiresolution.Arc
public class Arc
A directed arc of a MultiresolutionMesh
.
Field Summary | |
---|---|
int |
destinationNode
Id of the destination node. |
float |
geometricError
Geometric error (highest error of all fragments). |
int |
highestPatch
Highest patch id in the label of the arc. |
int |
id
Id of the arc. |
int |
lowestPatch
Lowest patch id in the label of the arc. |
int |
nextArcWithSameDestination
Id of the next arc with the same destination node (-1 if there is none). |
static int |
SIZE
Size of binary representation (in bytes) |
int |
sourceNode
Id of the source node. |
Method Summary | |
---|---|
float[][] |
getBBox()
Returns the bounding box of the region that this arc represents. |
MeshFragment[] |
getFragments()
Returns the fragments associated with this arc. |
boolean |
interferes(ViewFrustum roi,
float zScale)
Determines if this arc interferes with the given Geometry . |
static void |
store(ByteBuffer target,
int sourceNode,
int destinationNode,
int lowestPatch,
int highestPatch,
int nextArcWithSameDestination,
float geometricError)
Stores the information of an Arc in the given ByteBuffer . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SIZE
public final int id
public final int sourceNode
public final int destinationNode
public final int lowestPatch
public final int highestPatch
public final int nextArcWithSameDestination
public final float geometricError
Method Detail |
---|
public static void store(ByteBuffer target, int sourceNode, int destinationNode, int lowestPatch, int highestPatch, int nextArcWithSameDestination, float geometricError)
Arc
in the given ByteBuffer
.
target
- buffer where the binary representation is written tosourceNode
- id of the source node of the arcdestinationNode
- id of the destination node of the arclowestPatch
- lowest patch id in the label of the archighestPatch
- highest patch id in the label of the arcnextArcWithSameDestination
- id of the next arc with the same destination node (-1 if there is none)geometricError
- geometric errorpublic MeshFragment[] getFragments()
public boolean interferes(ViewFrustum roi, float zScale)
Geometry
.
roi
- geometry that is tested for interferencezScale
- scaling factor applied to z values of the mesh geometry (and bounding boxes)
public float[][] getBBox()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |