Classes | Public Member Functions | Public Attributes | Protected Member Functions | Package Functions | Private Member Functions | Private Attributes
com.generalrobotix.ui.item.GrxShapeItem Class Reference

sensor item More...

Inheritance diagram for com.generalrobotix.ui.item.GrxShapeItem:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

sensor item

Definition at line 83 of file GrxShapeItem.java.


Constructor & Destructor Documentation

constructor

Parameters:
namename of this item
managerPluginManager
transformTransform retrieved through ModelLoader
shapeInfoShapeInfo retrieved through ModelLoader
appearanceInfoAppearanceInfo retrieved through ModelLoader
materialInfoMaterialInfo retrieved through ModelLoader
textureInfoTextureInfo retrieved through ModelLoader

Definition at line 104 of file GrxShapeItem.java.


Member Function Documentation

Override clone method.

Returns:
GrxShapeItem

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.

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.

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

Parameters:
shapeInfoshape information
appearanceInfoappearance information
materialInfomaterial information
textureInfotexture information
Returns:
created shape

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.

Return editing type of the key item.

Returns:
ValueEditType

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.

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

Parameters:
propertyname of property
valuevalue of property
Returns:
true if updated successfully, false otherwise

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.

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.

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.

Definition at line 886 of file GrxShapeItem.java.


Member Data Documentation

Definition at line 91 of file GrxShapeItem.java.

Definition at line 86 of file GrxShapeItem.java.

Reimplemented from com.generalrobotix.ui.item.GrxTransformItem.

Definition at line 92 of file GrxShapeItem.java.

Definition at line 84 of file GrxShapeItem.java.

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.

Definition at line 85 of file GrxShapeItem.java.

Definition at line 88 of file GrxShapeItem.java.


The documentation for this class was generated from the following file:


openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sun Apr 2 2017 03:44:00