public abstract class AbstractSceneCompilerObserver extends java.lang.Object implements SceneCompilerObserver
AbstractSceneCompilerObserver is an abstract implementation of SceneCompilerObserver that does nothing by default.
You may extend this class if you only want to override some of the methods in SceneCompilerObserver.
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSceneCompilerObserver()
Constructs a new
AbstractSceneCompilerObserver instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
onComparisonBoundingVolumeHierarchyRootNode(Scene scene,
long milliseconds,
int boundingVolumeHierarchyRootNodeCountAll,
int boundingVolumeHierarchyRootNodeCountUnique)
Called by a
SceneCompiler to report statistics about the BoundingVolumeHierarchy root BoundingVolumeHierarchy.Nodes. |
void |
onComparisonPlane(Scene scene,
long milliseconds,
int planeCountAll,
int planeCountUnique)
Called by a
SceneCompiler to report statistics about the Planes. |
void |
onComparisonPoint2F(Scene scene,
long milliseconds,
int point2FCountAll,
int point2FCountUnique)
Called by a
SceneCompiler to report statistics about the Point2Fs. |
void |
onComparisonPoint3F(Scene scene,
long milliseconds,
int point3FCountAll,
int point3FCountUnique)
Called by a
SceneCompiler to report statistics about the Point3Fs. |
void |
onComparisonPrimitive(Scene scene,
long milliseconds,
int primitiveCountAll,
int primitiveCountUnique)
Called by a
SceneCompiler to report statistics about the Primitives. |
void |
onComparisonSphere(Scene scene,
long milliseconds,
int sphereCountAll,
int sphereCountUnique)
Called by a
SceneCompiler to report statistics about the Spheres. |
void |
onComparisonSurface(Scene scene,
long milliseconds,
int surfaceCountAll,
int surfaceCountUnique)
Called by a
SceneCompiler to report statistics about the Surfaces. |
void |
onComparisonTerrain(Scene scene,
long milliseconds,
int terrainCountAll,
int terrainCountUnique)
Called by a
SceneCompiler to report statistics about the Terrains. |
void |
onComparisonTexture(Scene scene,
long milliseconds,
int textureCountAll,
int textureCountUnique)
Called by a
SceneCompiler to report statistics about the Textures. |
void |
onComparisonTriangle(Scene scene,
long milliseconds,
int triangleCountAll,
int triangleCountUnique)
Called by a
SceneCompiler to report statistics about the Triangles. |
void |
onComparisonTriangleMesh(Scene scene,
long milliseconds,
int triangleMeshCountAll,
int triangleMeshCountUnique)
Called by a
SceneCompiler to report statistics about the TriangleMeshes. |
void |
onComparisonVector3F(Scene scene,
long milliseconds,
int vector3FCountAll,
int vector3FCountUnique)
Called by a
SceneCompiler to report statistics about the Vector3Fs. |
void |
onCompilationEnd(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process ends. |
void |
onCompilationStart(Scene scene,
long milliseconds)
Called by a
SceneCompiler to report when the compilation process starts. |
protected AbstractSceneCompilerObserver()
AbstractSceneCompilerObserver instance.public void onComparisonBoundingVolumeHierarchyRootNode(Scene scene, long milliseconds, int boundingVolumeHierarchyRootNodeCountAll, int boundingVolumeHierarchyRootNodeCountUnique)
SceneCompiler to report statistics about the BoundingVolumeHierarchy root BoundingVolumeHierarchy.Nodes.onComparisonBoundingVolumeHierarchyRootNode in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondsboundingVolumeHierarchyRootNodeCountAll - the BoundingVolumeHierarchy root Node countboundingVolumeHierarchyRootNodeCountUnique - the unique BoundingVolumeHierarchy root Node countpublic void onComparisonPlane(Scene scene, long milliseconds, int planeCountAll, int planeCountUnique)
SceneCompiler to report statistics about the Planes.onComparisonPlane in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondsplaneCountAll - the Plane countplaneCountUnique - the unique Plane countpublic void onComparisonPoint2F(Scene scene, long milliseconds, int point2FCountAll, int point2FCountUnique)
SceneCompiler to report statistics about the Point2Fs.onComparisonPoint2F in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondspoint2FCountAll - the Point2F countpoint2FCountUnique - the unique Point2F countpublic void onComparisonPoint3F(Scene scene, long milliseconds, int point3FCountAll, int point3FCountUnique)
SceneCompiler to report statistics about the Point3Fs.onComparisonPoint3F in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondspoint3FCountAll - the Point3F countpoint3FCountUnique - the unique Point3F countpublic void onComparisonPrimitive(Scene scene, long milliseconds, int primitiveCountAll, int primitiveCountUnique)
SceneCompiler to report statistics about the Primitives.onComparisonPrimitive in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondsprimitiveCountAll - the Primitive countprimitiveCountUnique - the unique Primitive countpublic void onComparisonSphere(Scene scene, long milliseconds, int sphereCountAll, int sphereCountUnique)
SceneCompiler to report statistics about the Spheres.onComparisonSphere in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondssphereCountAll - the Sphere countsphereCountUnique - the unique Sphere countpublic void onComparisonSurface(Scene scene, long milliseconds, int surfaceCountAll, int surfaceCountUnique)
SceneCompiler to report statistics about the Surfaces.onComparisonSurface in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondssurfaceCountAll - the Surface countsurfaceCountUnique - the unique Surface countpublic void onComparisonTerrain(Scene scene, long milliseconds, int terrainCountAll, int terrainCountUnique)
SceneCompiler to report statistics about the Terrains.onComparisonTerrain in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondsterrainCountAll - the Terrain countterrainCountUnique - the unique Terrain countpublic void onComparisonTexture(Scene scene, long milliseconds, int textureCountAll, int textureCountUnique)
SceneCompiler to report statistics about the Textures.onComparisonTexture in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondstextureCountAll - the Texture counttextureCountUnique - the unique Texture countpublic void onComparisonTriangle(Scene scene, long milliseconds, int triangleCountAll, int triangleCountUnique)
SceneCompiler to report statistics about the Triangles.onComparisonTriangle in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondstriangleCountAll - the Triangle counttriangleCountUnique - the unique Triangle countpublic void onComparisonTriangleMesh(Scene scene, long milliseconds, int triangleMeshCountAll, int triangleMeshCountUnique)
SceneCompiler to report statistics about the TriangleMeshes.onComparisonTriangleMesh in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondstriangleMeshCountAll - the TriangleMesh counttriangleMeshCountUnique - the unique TriangleMesh countpublic void onComparisonVector3F(Scene scene, long milliseconds, int vector3FCountAll, int vector3FCountUnique)
SceneCompiler to report statistics about the Vector3Fs.onComparisonVector3F in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondsvector3FCountAll - the Vector3F countvector3FCountUnique - the unique Vector3F countpublic void onCompilationEnd(Scene scene, long milliseconds)
SceneCompiler to report when the compilation process ends.onCompilationEnd in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in millisecondspublic void onCompilationStart(Scene scene, long milliseconds)
SceneCompiler to report when the compilation process starts.onCompilationStart in interface SceneCompilerObserverscene - the Scene being compiledmilliseconds - the time the compilation process has taken this far, in milliseconds