java.lang.Object
de.grogra.vecmath.geom.VolumeBase
de.grogra.vecmath.geom.MeshVolume
de.grogra.ray2.radiosity.MyMeshVolume
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
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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
-
Constructor Details
-
MyMeshVolume
public MyMeshVolume()
-
-
Method Details
-
getMeshColor
Returns the Mesh color.- Returns:
- the Mesh color.
-
setMeshColor
Sets the Color for this Mesh.- Parameters:
color
- the color to set.
-