|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object camera3d.VcObject camera3d.VcContent
Holds Geometry content that can be added to scene graph.
Field Summary | |
static int |
DEGRADE_BOX
Degradation mode that shows a box instead of the geometry. |
static int |
DEGRADE_NONE
No degradation mode, shows default geometry. |
static int |
DEGRADE_SIMPLIFIED
Degradation mode that shows simplified geometry. |
Fields inherited from class camera3d.VcObject |
transformationMode |
Constructor Summary | |
VcContent()
Creates content object. |
Method Summary | |
void |
addNode(javax.media.j3d.Node n)
Adds a Node to this object branch graph. |
javax.media.j3d.Node[] |
getContent()
Returns an array with all nodes contained. |
int |
getDegradeMode()
|
javax.swing.Icon |
getIcon()
Returns the Icon associated with content objects. |
static int |
getInstanceCounter()
Returns the number of objects instatiated so far. |
void |
select()
By calling this object this object shows himself "selected", what is indicated by some visual modifications. |
void |
setDegradeMode(int mode)
Sets degradation mode, a resource to show a alternative geometry during transformations. |
void |
setIcon(javax.swing.Icon contentIcon)
Sets the Icon associated with content objects. |
void |
setOngoingTransformation(boolean transforming)
Used to indicate whether this object is undergoing a transformation or not, to display some visual cues (axis, boundingBoxes, etc) |
boolean |
underOngoingTransformation()
Returns flag that indicates whether this object is undergoing a transformation or not. |
void |
unselect()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int DEGRADE_NONE
public static final int DEGRADE_BOX
public static final int DEGRADE_SIMPLIFIED
Constructor Detail |
public VcContent()
Method Detail |
public static int getInstanceCounter()
public void addNode(javax.media.j3d.Node n)
addNode
in class VcObject
n
- Node to be added.public void setDegradeMode(int mode)
public int getDegradeMode()
public void select()
VcObject
select
in class VcObject
public void unselect()
unselect
in class VcObject
public void setOngoingTransformation(boolean transforming)
setOngoingTransformation
in class VcObject
public boolean underOngoingTransformation()
VcObject
underOngoingTransformation
in class VcObject
public javax.swing.Icon getIcon()
getIcon
in class VcObject
public void setIcon(javax.swing.Icon contentIcon)
setIcon
in class VcObject
public javax.media.j3d.Node[] getContent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |