net.dzzd.access
Interface IMesh3DViewGenerator

All Known Subinterfaces:
IHeightMap3D

public interface IMesh3DViewGenerator

Used for accessing to a Mesh3DViewGenerator.
IMesh3DViewGenerator are able to give a subset of Face3D as a Face3DList for a given view point.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
IMesh3D

Method Summary
 void generateForView(double x, double y, double z, double tx, double ty, double tz, double focus, double viewWidth)
          Generate a (LOD) Face3DList for a given view point using the current view generator quality.
 double getMesh3DViewGeneratorQuality()
          Gets this Mesh3DViewGenerator current quality.
 int getNbViewFaces()
          Gets number of Face3D generated by the last call to generateForView.
 IFace3DList getViewFace3DList()
          Gets Face3DList generated by the last call to generateForView.
 void setFarClip(double farClip)
          Sets far clipping value for view generation.
 void setMesh3DViewGeneratorQuality(double quality)
          Sets this Mesh3DViewGenerator quality.
 void setNearClip(double nearClip)
          Sets near clipping value for view generation.
 

Method Detail

setMesh3DViewGeneratorQuality

public void setMesh3DViewGeneratorQuality(double quality)
Sets this Mesh3DViewGenerator quality.
quality is the pixel precision to use for view generation

Parameters:
quality - quality

getMesh3DViewGeneratorQuality

public double getMesh3DViewGeneratorQuality()
Gets this Mesh3DViewGenerator current quality.
quality is the pixel precision used for view generation

Returns:
current quality

generateForView

public void generateForView(double x,
                            double y,
                            double z,
                            double tx,
                            double ty,
                            double tz,
                            double focus,
                            double viewWidth)
Generate a (LOD) Face3DList for a given view point using the current view generator quality.
View point must be given in object space

Parameters:
x - view point x in object space
y - view point y in object space
z - view point z in object space
tx - view point target x in object space
ty - view point target y in object space
tz - view point target z in object space
focus - focal length to use
viewWidth - screen width in pixels

getNbViewFaces

public int getNbViewFaces()
Gets number of Face3D generated by the last call to generateForView.

Returns:
number of Face3D that was generated for last call to generateForView

getViewFace3DList

public IFace3DList getViewFace3DList()
Gets Face3DList generated by the last call to generateForView.

Returns:
Face3DList that was generated for last call to generateForView

setFarClip

public void setFarClip(double farClip)
Sets far clipping value for view generation.

Parameters:
farClip - far clipping value

setNearClip

public void setNearClip(double nearClip)
Sets near clipping value for view generation.

Parameters:
nearClip - near clipping value