de.grogra.ray2.radiosity
Class MyMeshVolume

java.lang.Object
  extended by de.grogra.vecmath.geom.VolumeBase
      extended by de.grogra.vecmath.geom.MeshVolume
          extended by de.grogra.ray2.radiosity.MyMeshVolume
All Implemented Interfaces:
Volume, java.lang.Cloneable

public class MyMeshVolume
extends MeshVolume

This is an extension of MeshVolume. It adds a color to a mesh volume.

Author:
Ralf Kopsch

Field Summary
 
Fields inherited from class de.grogra.vecmath.geom.MeshVolume
MIN_CELL_OBJECTS
 
Constructor Summary
MyMeshVolume()
           
 
Method Summary
 Color3f getMeshColor()
          Returns the Mesh color.
 void setMeshColor(Color3f color)
          Sets the Color for this Mesh.
 
Methods inherited from class de.grogra.vecmath.geom.MeshVolume
boxContainsBoundary, computeFaceNormal, computeIntersections, computeNormal, computeTangents, computeUV, contains, dup, getExtent, getOctree, getPolygonCount, setMesh, setTransformation
 
Methods inherited from class de.grogra.vecmath.geom.VolumeBase
addConvexIntersections, getId, operator$and, operator$com, operator$or, operator$sub, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MyMeshVolume

public MyMeshVolume()
Method Detail

getMeshColor

public Color3f getMeshColor()
Returns the Mesh color.

Returns:
the Mesh color.

setMeshColor

public void setMeshColor(Color3f color)
Sets the Color for this Mesh.

Parameters:
color - the color to set.