public class Skeleton extends Entity
Skeleton
is mainly used by CAD software to help designer to manipulate the transformation of skeletal structure, it's usually useless outside the CAD softwares.
To make the skeleton hierarchy acts like one object in CAD software, it's necessary to mark the top Skeleton
node as the root one by setting getType()
to SkeletonType.SKELETON
,
and all children set to SkeletonType.BONE
name, properties
Constructor and Description |
---|
Skeleton()
Initializes a new instance of the
Skeleton class. |
Skeleton(java.lang.String name)
Initializes a new instance of the
Skeleton class. |
Modifier and Type | Method and Description |
---|---|
double |
getSize()
Gets the limb node size that used in CAD software to represent the size of the bone.
|
SkeletonType |
getType()
Gets the type of the skeleton.
|
void |
setSize(double value)
Sets the limb node size that used in CAD software to represent the size of the bone.
|
void |
setType(SkeletonType value)
Sets the type of the skeleton.
|
getBoundingBox, getEntityRendererKey, getExcluded, getParentNode, getParentNodes, setExcluded, setParentNode
getScene
findProperty, getName, getProperties, getProperty, removeProperty, removeProperty, setName, setProperty
public Skeleton()
Skeleton
class.public Skeleton(java.lang.String name)
Skeleton
class.name
- Name.public double getSize()
public void setSize(double value)
value
- New valuepublic SkeletonType getType()
public void setType(SkeletonType value)
value
- New value