|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.Node
org.xith3d.scenegraph.Leaf
org.xith3d.scenegraph.Shape3D
org.xith3d.scenegraph.primitives.Line
public class Line
This Shape represents a simple 3D-line.
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.Node |
|---|
bounds, boundsAutoCompute, boundsDirty, globalIgnoreBounds, instanceBoundsTypeHint, parent, transformGroup, untransformedBounds |
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
Line(org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line of 1 pixel width starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line of 1 pixel width starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line of 1 pixel width starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line of 1 pixel width starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line starting at (0, 0, 0). |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line of 1 pixel width. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line of 1 pixel width. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line of 1 pixel width. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new solid Line of 1 pixel width. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
Creates a new Line. |
|
Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color)
Creates a new solid Line. |
|
| Method Summary | |
|---|---|
org.openmali.vecmath2.Colorf |
getColor()
|
float[] |
getCoordinates()
|
LineArray |
getGeometry()
|
org.jagatoo.opengl.enums.LinePattern |
getPattern()
|
float |
getWidth()
|
boolean |
isAntialiasingEnabled()
|
void |
setAntialiasingEnabled(boolean enabled)
Sets the Line's antialiasing flag to enabled. |
void |
setColor(org.openmali.vecmath2.Colorf color)
Sets the Line's color. |
void |
setCoordinates(float[] coords)
Sets this Line's coordinates. |
void |
setCoordinates(float x1,
float y1,
float z1)
Sets this Line's coordinates. |
void |
setCoordinates(float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
Sets this Line's coordinates. |
void |
setCoordinates(org.openmali.vecmath2.Tuple3f end)
Sets this Line's coordinates. |
void |
setCoordinates(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end)
Sets this Line's coordinates. |
void |
setPattern(org.jagatoo.opengl.enums.LinePattern pattern)
Sets the Line's LinePattern. |
void |
setWidth(float width)
Sets the Line's width in pixels. |
| Methods inherited from class org.xith3d.scenegraph.Shape3D |
|---|
absorbDetails, freeOpenGLResources, getAppearance, getAppearance, isBumpMappingEnabled, isShadowReceiver, isVisible, newAppearance, setAppearance, setBounds, setBumpMappingEnabled, setBumpMappingEnabled, setGeometry, setIsShadowReceiver, setLive, setModListener, setVisible, sharedCopy, sharedCopy, traverse, updateBounds, updateBoundsCheap, updateWorldTransform, verifyAppChange |
| Methods inherited from class org.xith3d.scenegraph.Leaf |
|---|
dump, getPickHost, setPickHost |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
start - start point coordinatesend - end point coordinateswidth - the Line's width in pixelsantiAliasing - the value for the Line's antialiasing flagcolor - the Line's colorlinePattern - the pattern for how this line is to be renderedLineAttributes
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
start - start point coordinatesend - end point coordinateswidth - the Line's width in pixelsantiAliasing - the value for the Line's antialiasing flagcolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color)
start - start point coordinatesend - end point coordinateswidth - the Line's width in pixelscolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
start - start point coordinatesend - end point coordinatesantiAliasing - the value for the Line's antialiasing flagcolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
start - start point coordinatesend - end point coordinatescolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
start - start point coordinatesend - end point coordinatesantiAliasing - the value for the Line's antialiasing flagcolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color)
start - start point coordinatesend - end point coordinatescolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
end - end point coordinateswidth - the Line's width in pixelsantiAliasing - the value for the Line's antialiasing flagcolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
end - end point coordinateswidth - the Line's width in pixelscolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f end,
float width,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
end - end point coordinateswidth - the Line's width in pixelsantiAliasing - the value for the Line's antialiasing flagcolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f end,
float width,
org.openmali.vecmath2.Colorf color)
end - end point coordinateswidth - the Line's width in pixelscolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
end - end point coordinatesantiAliasing - the value for the Line's antialiasing flagcolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color,
org.jagatoo.opengl.enums.LinePattern linePattern)
end - end point coordinatescolor - the Line's colorlinePattern - the pattern for how this line is to be rendered
public Line(org.openmali.vecmath2.Tuple3f end,
boolean antiAliasing,
org.openmali.vecmath2.Colorf color)
end - end point coordinatesantiAliasing - the value for the Line's antialiasing flagcolor - the Line's color
public Line(org.openmali.vecmath2.Tuple3f end,
org.openmali.vecmath2.Colorf color)
end - end point coordinatescolor - the Line's color| Method Detail |
|---|
public LineArray getGeometry()
getGeometry in class Shape3Dpublic void setCoordinates(float[] coords)
coords - a 6 elemental array with start and end point coordinates
public void setCoordinates(float x0,
float y0,
float z0,
float x1,
float y1,
float z1)
x0 - start and end point coordinatesy0 - start and end point coordinatesz0 - start and end point coordinatesx1 - start and end point coordinatesy1 - start and end point coordinatesz1 - start and end point coordinates
public void setCoordinates(float x1,
float y1,
float z1)
x1 - start and end point coordinatesy1 - start and end point coordinatesz1 - start and end point coordinates
public void setCoordinates(org.openmali.vecmath2.Tuple3f start,
org.openmali.vecmath2.Tuple3f end)
start - start point coordinatesend - end point coordinatespublic void setCoordinates(org.openmali.vecmath2.Tuple3f end)
end - end point coordinatespublic float[] getCoordinates()
public void setColor(org.openmali.vecmath2.Colorf color)
color - the new colorpublic org.openmali.vecmath2.Colorf getColor()
public void setPattern(org.jagatoo.opengl.enums.LinePattern pattern)
pattern - the new LinePatternpublic org.jagatoo.opengl.enums.LinePattern getPattern()
public void setWidth(float width)
width - the new line-width in pixelspublic float getWidth()
public void setAntialiasingEnabled(boolean enabled)
enabled - public boolean isAntialiasingEnabled()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||