public class CustomTransparentTriangleMesh extends CustomTriangleMesh
changed, color, DEFAULT_COLOR, loadedFromFile, loadedFromName, mesh, shaded, transparencyALLOW_APPEARANCE_OVERRIDE_READ, ALLOW_APPEARANCE_OVERRIDE_WRITE, ALLOW_APPEARANCE_READ, ALLOW_APPEARANCE_WRITE, ALLOW_COLLISION_BOUNDS_READ, ALLOW_COLLISION_BOUNDS_WRITE, ALLOW_GEOMETRY_READ, ALLOW_GEOMETRY_WRITEALLOW_AUTO_COMPUTE_BOUNDS_READ, ALLOW_AUTO_COMPUTE_BOUNDS_WRITE, ALLOW_BOUNDS_READ, ALLOW_BOUNDS_WRITE, ALLOW_COLLIDABLE_READ, ALLOW_COLLIDABLE_WRITE, ALLOW_LOCAL_TO_VWORLD_READ, ALLOW_LOCALE_READ, ALLOW_PARENT_READ, ALLOW_PICKABLE_READ, ALLOW_PICKABLE_WRITE, ENABLE_COLLISION_REPORTING, ENABLE_PICK_REPORTING| Constructor and Description |
|---|
CustomTransparentTriangleMesh(List<Point3f> mesh) |
CustomTransparentTriangleMesh(List<Point3f> mesh,
Color3f col,
float trans) |
| Modifier and Type | Method and Description |
|---|---|
protected Appearance |
createAppearance() |
protected GeometryArray |
createGeometry() |
float |
getVolume() |
static void |
main(String[] args) |
void |
setColor(Color3f color) |
void |
setTransparency(float t) |
void |
setTransparentColor(List<Color4f> color) |
addTriangle, addTriangles, removeTriangle, removeTriangles, retain, setMeshaddVertices, addVerticesToGeometryArray, addVerticesToGeometryStripArray, calculateMinMaxCenterPoint, clearDisplayedData, getColor, getFile, getMesh, getName, getTransparency, hasChanged, isShaded, loadSurfaceColorsFromImage, recalculateNormals, removeVertices, restoreDisplayedData, setColor, setColor, setCoordinate, setCoordinates, setShaded, swapDisplayedData, update, vertexIndicesOfPointaddGeometry, cloneNode, duplicateNode, getAllGeometries, getAppearance, getAppearanceOverrideEnable, getBounds, getCollisionBounds, getGeometry, getGeometry, indexOfGeometry, insertGeometry, intersect, intersect, intersect, numGeometries, removeAllGeometries, removeGeometry, removeGeometry, setAppearance, setAppearanceOverrideEnable, setCollisionBounds, setGeometry, setGeometrycloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickableclearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferencespublic float getVolume()
getVolume in class CustomTriangleMeshpublic void setColor(Color3f color)
setColor in class CustomMeshpublic void setTransparency(float t)
setTransparency in class CustomMeshprotected GeometryArray createGeometry()
createGeometry in class CustomTriangleMeshprotected Appearance createAppearance()
createAppearance in class CustomMeshpublic static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.