|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.rendering.r3d.multiresolution.MultiresolutionMesh
public class MultiresolutionMesh
Implementation of a fragment based multiresolution model for massive triangle meshes (e.g. large terrain surfaces, but also suitable for free-form surfaces) based on the Batched Multi-Triangulation as described by Cignoni et al.
This class encapsulates the augmented multiresolution-DAG:
SelectiveRefinement,
SpatialSelection,
LODCriterion| Field Summary | |
|---|---|
Arc[] |
arcs
Contains all Arcs of the DAG, the array index corresponds to its id. |
MeshFragment[] |
fragments
Contains all MeshFragments of the DAG, the array index corresponds to its id. |
static java.lang.String |
FRAGMENTS_FILE_NAME
Default name for the binary file that contains the mesh fragments. |
static java.lang.String |
INDEX_FILE_NAME
Default name for the binary index file that contains the multiresolution DAG. |
Node[] |
nodes
Contains all Nodes of the DAG, the array index corresponds to its id. |
| Constructor Summary | |
|---|---|
MultiresolutionMesh(java.io.File dir,
DirectByteBufferPool directBufferPool)
Creates a new MultiresolutionMesh by reading the fragment (FRAGMENTS_FILE_NAME) and index (
INDEX_FILE_NAME) blobs in the given directory. |
|
MultiresolutionMesh(java.io.File mrIndex,
java.io.File meshFragments,
DirectByteBufferPool directBufferPool)
Creates a new MultiresolutionMesh by reading the specified fragment (FRAGMENTS_FILE_NAME) and
index ( INDEX_FILE_NAME) blobs. |
|
| Method Summary | |
|---|---|
java.util.List<MeshFragment> |
extractLOD(LODCriterion crit)
Extracts the smallest LOD that satisfies the given LOD criterion. |
java.util.List<MeshFragment> |
extractLODFragment(LODCriterion crit,
ViewFrustum roi)
Extracts the smallest LOD fragment that satisfies the given LOD criterion . |
double[][] |
getBBox()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String FRAGMENTS_FILE_NAME
public static final java.lang.String INDEX_FILE_NAME
public Node[] nodes
Nodes of the DAG, the array index corresponds to its id.
public Arc[] arcs
Arcs of the DAG, the array index corresponds to its id.
public MeshFragment[] fragments
MeshFragments of the DAG, the array index corresponds to its id.
| Constructor Detail |
|---|
public MultiresolutionMesh(java.io.File dir,
DirectByteBufferPool directBufferPool)
throws java.io.IOException
MultiresolutionMesh by reading the fragment (FRAGMENTS_FILE_NAME) and index (
INDEX_FILE_NAME) blobs in the given directory.
dir - directory that contains the fragment and index blobs to be read
java.io.IOException
public MultiresolutionMesh(java.io.File mrIndex,
java.io.File meshFragments,
DirectByteBufferPool directBufferPool)
throws java.io.IOException
MultiresolutionMesh by reading the specified fragment (FRAGMENTS_FILE_NAME) and
index ( INDEX_FILE_NAME) blobs.
mrIndex - index blobmeshFragments - fragment blob
java.io.IOException| Method Detail |
|---|
public final double[][] getBBox()
public java.util.List<MeshFragment> extractLOD(LODCriterion crit)
crit - criterion that the LOD must satisfies
public java.util.List<MeshFragment> extractLODFragment(LODCriterion crit,
ViewFrustum roi)
crit - criterion that the LOD must satisfiesroi -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||