sensor item More...

Classes | |
| class | TextureInfoLocal |
Public Member Functions | |
| GrxShapeItem | clone () |
| Override clone method. | |
| void | coneSize (String property, String size) |
| void | createnewPrimitiveShape (int type) |
| void | cylinderSize (String property, String size) |
| ValueEditType | GetValueEditType (String key) |
| Return editing type of the key item. | |
| GrxShapeItem (String name, GrxPluginManager manager, GrxModelItem model) | |
| constructor | |
| void | loadInlineShape (Matrix4d[] shapeT, Matrix4d inlinedT, int[] index, Matrix4d segmentT) |
| void | loadnewInlineShape (SceneInfo sInfo) |
| void | loadShape (Matrix4d shapeT, int index, Matrix4d segmentT) |
| boolean | propertyChanged (String property, String value) |
| update value of property | |
| void | size (String size) |
| void | sphereSize (String size) |
Public Attributes | |
| AppearanceInfo[] | appearances_ |
| boolean | isInline_ = false |
| MaterialInfo[] | materials_ |
| ShapeInfo[] | shapes_ |
| TextureInfo[] | textures_ |
Protected Member Functions | |
| Appearance | createAppearance () |
| Material | createMaterial (MaterialInfo materialInfo) |
| void | initialize (Transform3D t3d) |
| void | setMaterial (Appearance appearance, MaterialInfo materialInfo) |
| void | setTexture (Appearance appearance, TextureInfo textureInfo) |
Package Functions | |
| void | diffuseColor (float[] newValue) |
| void | diffuseColor (String value) |
| void | restoreColor (Node node, int id) |
| void | restoreColor () |
| void | setColor (java.awt.Color color, Node node) |
| void | setColor (java.awt.Color color) |
Private Member Functions | |
| Shape3D | createShape3D (ShapeInfo shapeInfo, AppearanceInfo appearanceInfo, MaterialInfo materialInfo, TextureInfo textureInfo) |
| create Shape3D object from shapeInfo, appearanceInfo, MaterialInfo and TextureInfo | |
| void | setColors (GeometryInfo geometryInfo, ShapeInfo shapeInfo, AppearanceInfo appearanceInfo) |
| void | setNormals (GeometryInfo geometryInfo, ShapeInfo shapeInfo, AppearanceInfo appearanceInfo) |
| void | setPrimitiveProperty (ShapeInfo shapeInfo) |
| void | setShape (Matrix4d[] shapeT, Matrix4d inlinedT, int n, Matrix4d segmentT) |
| void | setShapeInfofromModel (short shapeIndex, int id) |
| void | size (float[] newSize) |
| void | sphereSize (float[] newSize) |
Private Attributes | |
| Appearance | appearance_ = null |
| BranchGroup | bg_ |
| int | primitiveFlag = Primitive.GEOMETRY_NOT_SHARED | Primitive.GENERATE_NORMALS | Primitive.GENERATE_TEXTURE_COORDS |
sensor item
Definition at line 83 of file GrxShapeItem.java.
| com.generalrobotix.ui.item.GrxShapeItem.GrxShapeItem | ( | String | name, |
| GrxPluginManager | manager, | ||
| GrxModelItem | model | ||
| ) | [inline] |
constructor
| name | name of this item |
| manager | PluginManager |
| transform | Transform retrieved through ModelLoader |
| shapeInfo | ShapeInfo retrieved through ModelLoader |
| appearanceInfo | AppearanceInfo retrieved through ModelLoader |
| materialInfo | MaterialInfo retrieved through ModelLoader |
| textureInfo | TextureInfo retrieved through ModelLoader |
Definition at line 104 of file GrxShapeItem.java.
Override clone method.
Reimplemented from com.generalrobotix.ui.GrxBaseItem.
Definition at line 1027 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.coneSize | ( | String | property, |
| String | size | ||
| ) | [inline] |
Definition at line 772 of file GrxShapeItem.java.
| Appearance com.generalrobotix.ui.item.GrxShapeItem.createAppearance | ( | ) | [inline, protected] |
Definition at line 384 of file GrxShapeItem.java.
| Material com.generalrobotix.ui.item.GrxShapeItem.createMaterial | ( | MaterialInfo | materialInfo | ) | [inline, protected] |
Definition at line 591 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.createnewPrimitiveShape | ( | int | type | ) | [inline] |
Definition at line 140 of file GrxShapeItem.java.
| Shape3D com.generalrobotix.ui.item.GrxShapeItem.createShape3D | ( | ShapeInfo | shapeInfo, |
| AppearanceInfo | appearanceInfo, | ||
| MaterialInfo | materialInfo, | ||
| TextureInfo | textureInfo | ||
| ) | [inline, private] |
create Shape3D object from shapeInfo, appearanceInfo, MaterialInfo and TextureInfo
| shapeInfo | shape information |
| appearanceInfo | appearance information |
| materialInfo | material information |
| textureInfo | texture information |
Definition at line 432 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.cylinderSize | ( | String | property, |
| String | size | ||
| ) | [inline] |
Definition at line 816 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.diffuseColor | ( | float[] | newValue | ) | [inline, package] |
Definition at line 891 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.diffuseColor | ( | String | value | ) | [inline, package] |
Definition at line 900 of file GrxShapeItem.java.
| ValueEditType com.generalrobotix.ui.item.GrxShapeItem.GetValueEditType | ( | String | key | ) | [inline] |
Return editing type of the key item.
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 1166 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.initialize | ( | Transform3D | t3d | ) | [inline, protected] |
Definition at line 305 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.loadInlineShape | ( | Matrix4d[] | shapeT, |
| Matrix4d | inlinedT, | ||
| int[] | index, | ||
| Matrix4d | segmentT | ||
| ) | [inline] |
Definition at line 228 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.loadnewInlineShape | ( | SceneInfo | sInfo | ) | [inline] |
Definition at line 267 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.loadShape | ( | Matrix4d | shapeT, |
| int | index, | ||
| Matrix4d | segmentT | ||
| ) | [inline] |
Definition at line 113 of file GrxShapeItem.java.
| boolean com.generalrobotix.ui.item.GrxShapeItem.propertyChanged | ( | String | property, |
| String | value | ||
| ) | [inline] |
update value of property
| property | name of property |
| value | value of property |
Reimplemented from com.generalrobotix.ui.GrxBasePlugin.
Definition at line 726 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.restoreColor | ( | Node | node, |
| int | id | ||
| ) | [inline, package] |
Definition at line 1108 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.restoreColor | ( | ) | [inline, package] |
Definition at line 1131 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setColor | ( | java.awt.Color | color, |
| Node | node | ||
| ) | [inline, package] |
Definition at line 1075 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setColor | ( | java.awt.Color | color | ) | [inline, package] |
Definition at line 1104 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setColors | ( | GeometryInfo | geometryInfo, |
| ShapeInfo | shapeInfo, | ||
| AppearanceInfo | appearanceInfo | ||
| ) | [inline, private] |
Definition at line 616 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setMaterial | ( | Appearance | appearance, |
| MaterialInfo | materialInfo | ||
| ) | [inline, protected] |
Definition at line 537 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setNormals | ( | GeometryInfo | geometryInfo, |
| ShapeInfo | shapeInfo, | ||
| AppearanceInfo | appearanceInfo | ||
| ) | [inline, private] |
Definition at line 665 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setPrimitiveProperty | ( | ShapeInfo | shapeInfo | ) | [inline, private] |
Definition at line 1135 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setShape | ( | Matrix4d[] | shapeT, |
| Matrix4d | inlinedT, | ||
| int | n, | ||
| Matrix4d | segmentT | ||
| ) | [inline, private] |
Definition at line 243 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setShapeInfofromModel | ( | short | shapeIndex, |
| int | id | ||
| ) | [inline, private] |
Definition at line 402 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.setTexture | ( | Appearance | appearance, |
| TextureInfo | textureInfo | ||
| ) | [inline, protected] |
Definition at line 551 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.size | ( | float[] | newSize | ) | [inline, private] |
Definition at line 750 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.size | ( | String | size | ) | [inline] |
Definition at line 767 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.sphereSize | ( | float[] | newSize | ) | [inline, private] |
Definition at line 869 of file GrxShapeItem.java.
| void com.generalrobotix.ui.item.GrxShapeItem.sphereSize | ( | String | size | ) | [inline] |
Definition at line 886 of file GrxShapeItem.java.
Appearance com.generalrobotix.ui.item.GrxShapeItem.appearance_ = null [private] |
Definition at line 91 of file GrxShapeItem.java.
| AppearanceInfo [] com.generalrobotix.ui.item.GrxShapeItem.appearances_ |
Definition at line 86 of file GrxShapeItem.java.
BranchGroup com.generalrobotix.ui.item.GrxShapeItem.bg_ [private] |
Reimplemented from com.generalrobotix.ui.item.GrxTransformItem.
Definition at line 92 of file GrxShapeItem.java.
Definition at line 84 of file GrxShapeItem.java.
| MaterialInfo [] com.generalrobotix.ui.item.GrxShapeItem.materials_ |
Definition at line 87 of file GrxShapeItem.java.
int com.generalrobotix.ui.item.GrxShapeItem.primitiveFlag = Primitive.GEOMETRY_NOT_SHARED | Primitive.GENERATE_NORMALS | Primitive.GENERATE_TEXTURE_COORDS [private] |
Definition at line 90 of file GrxShapeItem.java.
| ShapeInfo [] com.generalrobotix.ui.item.GrxShapeItem.shapes_ |
Definition at line 85 of file GrxShapeItem.java.
| TextureInfo [] com.generalrobotix.ui.item.GrxShapeItem.textures_ |
Definition at line 88 of file GrxShapeItem.java.