Class Object3d
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Object3d
-
public class Object3d extends Primitive3d
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.ArrayList<Animation>
_animations
protected java.util.TreeSet<java.lang.String>
_channels
protected boolean
_hasLightMaterials
Light Materials - to deal with possible render Errorsprotected java.lang.String
_modelPath
Model path.protected boolean
_rigDebug
protected java.util.ArrayList<Materialfile>
materials
-
Fields inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
ABSOLUTE_POSITION, ABSOLUTE_ROTATION, ABSOLUTE_SIZE, color_, drawcondition, enableDCPos, enableDCRot, enableDCSize, materialPath_, PRIMITIVE_TYPE_ARROW, PRIMITIVE_TYPE_BOX, PRIMITIVE_TYPE_CYLINDER, PRIMITIVE_TYPE_DIRECTIONALLIGHT, PRIMITIVE_TYPE_DOME, PRIMITIVE_TYPE_EFFECT, PRIMITIVE_TYPE_OBJECT3D, PRIMITIVE_TYPE_POINTLIGHT, PRIMITIVE_TYPE_QUAD, PRIMITIVE_TYPE_SKY, PRIMITIVE_TYPE_SOUND, PRIMITIVE_TYPE_SPHERE, PRIMITIVE_TYPE_TERRAIN, PRIMITIVE_TYPE_TEXT3D, PRIMITIVE_TYPE_TORUS, renderinfos, SHADOW_CAST, SHADOW_OFF, SHADOW_RECEIVE, shadowtype, texturePath_, type
-
-
Constructor Summary
Constructors Constructor Description Object3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String modelPath, java.lang.String materialpath, java.lang.String texturePath, boolean hasLightMaterials, boolean rigDebug, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.List<Animation> animations, java.util.List<Materialfile> materials, java.util.ArrayList<SpatialControl> controler)
Creates a new Polygon drawable.Object3d(java.lang.String modelPath, boolean hasLightMaterials)
Creates default Polygon.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.ArrayList<Animation>
getAnimations()
java.util.TreeSet<java.lang.String>
getChannels()
java.util.ArrayList<Materialfile>
getMaterials()
java.lang.String
getModelPath()
boolean
isHasLightMaterials()
boolean
isRigDebug()
void
setAnimations(java.util.ArrayList<Animation> _animations)
void
setChannels(java.util.TreeSet<java.lang.String> channels)
void
setHasLightMaterials(boolean hasLightMaterials)
void
setMaterials(java.util.ArrayList<Materialfile> materials)
void
setModelPath(java.lang.String modelPath)
void
setRigDebug(boolean rigDebug)
void
setType(int type)
Set the primitive type (Disabled).-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
enableAbsolutePosition, enableAbsoluteRotation, enableAbsoluteSize, getColor, getControler, getDrawCondition, getMaterialPath, getShadowtype, getTexturePath, getType, isRelativePosition, isRelativeRotation, isRelativeSize, setColor, setControler, setDrawCondition, setMaterialPath, setShadowtype, setTexturePath
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
-
-
-
-
Field Detail
-
_modelPath
protected java.lang.String _modelPath
Model path.
-
_hasLightMaterials
protected boolean _hasLightMaterials
Light Materials - to deal with possible render Errors
-
_animations
protected java.util.ArrayList<Animation> _animations
-
materials
protected java.util.ArrayList<Materialfile> materials
-
_channels
protected java.util.TreeSet<java.lang.String> _channels
-
_rigDebug
protected boolean _rigDebug
-
-
Constructor Detail
-
Object3d
public Object3d(java.lang.String modelPath, boolean hasLightMaterials)
Creates default Polygon.- Parameters:
modelPath
- resource path of the model
-
Object3d
public Object3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String modelPath, java.lang.String materialpath, java.lang.String texturePath, boolean hasLightMaterials, boolean rigDebug, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.List<Animation> animations, java.util.List<Materialfile> materials, java.util.ArrayList<SpatialControl> controler)
Creates a new Polygon drawable.- Parameters:
position
-rotation
-size
-absFlags
-c
-modelPath
-texturePath
-drawcondition
-
-
-
Method Detail
-
setType
public void setType(int type)
Set the primitive type (Disabled).- Overrides:
setType
in classPrimitive3d
- Parameters:
type
- The type to set.
-
getModelPath
public java.lang.String getModelPath()
- Returns:
- the _modelPath
-
setModelPath
public void setModelPath(java.lang.String modelPath)
- Parameters:
_modelPath
- the _modelPath to set
-
isHasLightMaterials
public boolean isHasLightMaterials()
- Returns:
- the _hasLightMaterials
-
setHasLightMaterials
public void setHasLightMaterials(boolean hasLightMaterials)
- Parameters:
_hasLightMaterials
- the _hasLightMaterials to set
-
getAnimations
public java.util.ArrayList<Animation> getAnimations()
- Returns:
- the _animations
-
setAnimations
public void setAnimations(java.util.ArrayList<Animation> _animations)
- Parameters:
_animations
- the _animations to set
-
getChannels
public java.util.TreeSet<java.lang.String> getChannels()
- Returns:
- the _channels
-
setChannels
public void setChannels(java.util.TreeSet<java.lang.String> channels)
- Parameters:
_channels
- the _channels to set
-
isRigDebug
public boolean isRigDebug()
- Returns:
- the _rigDebug
-
setRigDebug
public void setRigDebug(boolean rigDebug)
- Parameters:
_rigDebug
- the _rigDebug to set
-
getMaterials
public java.util.ArrayList<Materialfile> getMaterials()
-
setMaterials
public void setMaterials(java.util.ArrayList<Materialfile> materials)
-
-