|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecttoxi.volume.HashIsoSurface
public class HashIsoSurface

HashMap based implementation of the IsoSurface interface. More memory
efficient than ArrayIsoSurface and so better suited for very
high-resolution volumes.
| Field Summary | |
|---|---|
float |
isoValue
|
| Constructor Summary | |
|---|---|
HashIsoSurface(VolumetricSpace volume)
Creates a new instance using the expected default vertex density of 50%. |
|
HashIsoSurface(VolumetricSpace volume,
float density)
Creates a new instance using the given expected vertex density. |
|
| Method Summary | |
|---|---|
toxi.geom.mesh.Mesh3D |
computeSurfaceMesh(toxi.geom.mesh.Mesh3D mesh,
float iso)
Computes the surface mesh for the given iso value. |
void |
reset()
Resets mesh vertices to default positions and clears face index. |
void |
setExpectedDensity(float density)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float isoValue
| Constructor Detail |
|---|
public HashIsoSurface(VolumetricSpace volume)
volume - setExpectedDensity(float)
public HashIsoSurface(VolumetricSpace volume,
float density)
volume - setExpectedDensity(float)| Method Detail |
|---|
public toxi.geom.mesh.Mesh3D computeSurfaceMesh(toxi.geom.mesh.Mesh3D mesh,
float iso)
IsoSurfaceTriangleMesh instance is
created.
computeSurfaceMesh in interface IsoSurfacemesh - existing mesh container or nulliso - surface iso value
public void reset()
computeSurfaceMesh(Mesh3D, float).
reset in interface IsoSurfacepublic void setExpectedDensity(float density)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||