public class CustomLineMesh extends CustomMesh
Modifier and Type | Field and Description |
---|---|
static int |
CONTINUOUS |
static int |
DASH |
static int |
DASH_DOT |
static float |
DEFAULT_LINEWIDTH |
static int |
DEFAULT_MODE |
static int |
DEFAULT_PATTERN |
static int |
DOT |
static int |
PAIRWISE |
static int |
SOLID |
changed, color, DEFAULT_COLOR, loadedFromFile, loadedFromName, mesh, shaded, 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
Constructor and Description |
---|
CustomLineMesh(List<Point3f> mesh) |
CustomLineMesh(List<Point3f> mesh,
int mode) |
CustomLineMesh(List<Point3f> mesh,
int mode,
Color3f color,
float transparency) |
Modifier and Type | Method and Description |
---|---|
void |
addLines(Point3f[] v) |
protected Appearance |
createAppearance() |
protected GeometryArray |
createGeometry() |
float |
getLineWidth() |
int |
getMode() |
float |
getVolume() |
void |
setAntiAliasing(boolean b) |
void |
setLineWidth(float w) |
void |
setPattern(int pattern) |
addVertices, addVerticesToGeometryArray, addVerticesToGeometryStripArray, calculateMinMaxCenterPoint, clearDisplayedData, getColor, getFile, getMesh, getName, getTransparency, hasChanged, isShaded, loadSurfaceColorsFromImage, recalculateNormals, removeVertices, restoreDisplayedData, setColor, setColor, setColor, setCoordinate, setCoordinates, setShaded, setTransparency, swapDisplayedData, update, vertexIndicesOfPoint
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 int PAIRWISE
public static final int CONTINUOUS
public static final int SOLID
public static final int DOT
public static final int DASH
public static final int DASH_DOT
public static final int DEFAULT_MODE
public static final int DEFAULT_PATTERN
public static final float DEFAULT_LINEWIDTH
public int getMode()
public void setPattern(int pattern)
public void setAntiAliasing(boolean b)
public void setLineWidth(float w)
public float getLineWidth()
public void addLines(Point3f[] v)
public float getVolume()
getVolume
in class CustomMesh
protected Appearance createAppearance()
createAppearance
in class CustomMesh
protected GeometryArray createGeometry()
createGeometry
in class CustomMesh
Copyright © 2015–2021 Fiji. All rights reserved.