public abstract class CustomMesh extends Shape3D
Modifier and Type | Field and Description |
---|---|
protected boolean |
changed |
protected Color3f |
color |
static Color3f |
DEFAULT_COLOR |
protected String |
loadedFromFile |
protected String |
loadedFromName |
protected List<Point3f> |
mesh |
protected boolean |
shaded |
protected float |
transparency |
ALLOW_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_WRITE
ALLOW_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
Modifier | Constructor and Description |
---|---|
protected |
CustomMesh() |
protected |
CustomMesh(List<Point3f> mesh) |
protected |
CustomMesh(List<Point3f> mesh,
Color3f color,
float transp) |
addGeometry, cloneNode, duplicateNode, getAllGeometries, getAppearance, getAppearanceOverrideEnable, getBounds, getCollisionBounds, getGeometry, getGeometry, indexOfGeometry, insertGeometry, intersect, intersect, intersect, numGeometries, removeAllGeometries, removeGeometry, removeGeometry, setAppearance, setAppearanceOverrideEnable, setCollisionBounds, setGeometry, setGeometry
cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, cloneTree, getBoundsAutoCompute, getCollidable, getLocale, getLocalToVworld, getLocalToVworld, getParent, getPickable, setBounds, setBoundsAutoCompute, setCollidable, setPickable
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public static final Color3f DEFAULT_COLOR
protected Color3f color
protected float transparency
protected boolean shaded
protected String loadedFromName
protected String loadedFromFile
protected boolean changed
public String getFile()
public String getName()
getName
in class SceneGraphObject
public boolean hasChanged()
public void update()
public List getMesh()
public Color3f getColor()
public float getTransparency()
public boolean isShaded()
public void setShaded(boolean b)
public void calculateMinMaxCenterPoint(Point3f min, Point3f max, Point3f center)
public abstract float getVolume()
protected void addVerticesToGeometryStripArray(Point3f[] v)
protected void addVerticesToGeometryArray(Point3f[] v)
public int[] vertexIndicesOfPoint(Point3f p)
public void setCoordinate(int i, Point3f p)
public void setCoordinates(int[] indices, Point3f p)
public void recalculateNormals(GeometryArray ga)
protected void addVertices(Point3f[] v)
protected void removeVertices(int[] indices)
public void setColor(Color3f color)
public void setColor(int vtxIndex, Color3f color)
public void loadSurfaceColorsFromImage(ij.ImagePlus imp)
public void setTransparency(float transparency)
protected Appearance createAppearance()
public void clearDisplayedData()
protected abstract GeometryArray createGeometry()
Copyright © 2015–2021 Fiji. All rights reserved.