motris.model
Class SceneGeometry

java.lang.Object
  extended bymotris.model.SceneGeometry

public class SceneGeometry
extends java.lang.Object

Representing all geometric properties of an actor in the 3-dimensional scene, including visible edges and polygons for occlusions for both the object and its shadows

Author:
Hendrik Dahlkamp

Field Summary
 ImageGeometry associatedImageGeometry
           
(package private)  java.util.Vector edges
           
(package private)  java.util.Vector polygons
           
(package private)  java.util.Vector shadowEdges
           
 boolean shadowEdgesVisible
           
(package private)  java.util.Vector shadowPolygons
           
(package private)  java.util.Hashtable startIndices
           
 boolean structuralChange
           
 java.util.Vector vertices
           
 
Constructor Summary
SceneGeometry()
           
 
Method Summary
(package private)  void clearAll()
           
 java.lang.String debugDumpAll()
           
 SceneEdge getEdge(int index)
           
 int getEdgeCount()
           
 Convex3DPolygon getPolygon(int index)
           
 int getPolygonCount()
           
 ImageGeometry projectToImage(Camera cam)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vertices

public java.util.Vector vertices

edges

java.util.Vector edges

polygons

java.util.Vector polygons

shadowPolygons

java.util.Vector shadowPolygons

shadowEdges

java.util.Vector shadowEdges

shadowEdgesVisible

public boolean shadowEdgesVisible

structuralChange

public boolean structuralChange

startIndices

java.util.Hashtable startIndices

associatedImageGeometry

public ImageGeometry associatedImageGeometry
Constructor Detail

SceneGeometry

public SceneGeometry()
Method Detail

clearAll

void clearAll()

projectToImage

public ImageGeometry projectToImage(Camera cam)

getEdge

public final SceneEdge getEdge(int index)

getEdgeCount

public int getEdgeCount()

getPolygon

public Convex3DPolygon getPolygon(int index)

getPolygonCount

public int getPolygonCount()

debugDumpAll

public java.lang.String debugDumpAll()