motris.model
Class SceneVertex

java.lang.Object
  extended bymotris.data.Description
      extended bymotris.model.SceneVertex
Direct Known Subclasses:
ShadowHull.ShadowHullVertex

public class SceneVertex
extends Description

SceneVertex represents a 3-Dimensional Scene Point. Pay attention when modifying coordinates as the SAME instance of SceneVertex may be used as vertex for numerous edges and polygons.

Author:
Hendrik Dahlkamp

Field Summary
(package private)  DoubleMatrix coordinateDerivative
           
 Double4Vector coordinates
           
(package private)  int indexInVertexList
           
 
Fields inherited from class motris.data.Description
 
Constructor Summary
SceneVertex(Double4Vector _coordinates, int _indexInVertexList)
           
SceneVertex(java.lang.String _i, java.lang.String _n, java.lang.String _d, Double4Vector _coordinates, int _indexInVertexList)
           
 
Method Summary
 void project(Camera cam, ImageVertex target, DoubleVector tmp)
           
 java.lang.String toString()
           
 void transform(JSci.maths.DoubleSquareMatrix a)
           
 
Methods inherited from class motris.data.Description
getDescription, getIdentifier, getName, setDescription, setIdentifier, setName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

coordinates

public Double4Vector coordinates

coordinateDerivative

DoubleMatrix coordinateDerivative

indexInVertexList

int indexInVertexList
Constructor Detail

SceneVertex

public SceneVertex(Double4Vector _coordinates,
                   int _indexInVertexList)

SceneVertex

public SceneVertex(java.lang.String _i,
                   java.lang.String _n,
                   java.lang.String _d,
                   Double4Vector _coordinates,
                   int _indexInVertexList)
Method Detail

project

public void project(Camera cam,
                    ImageVertex target,
                    DoubleVector tmp)

transform

public void transform(JSci.maths.DoubleSquareMatrix a)
               throws JSci.maths.DimensionException
Throws:
JSci.maths.DimensionException

toString

public java.lang.String toString()