Class Torus3d
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Primitive3d
-
- jadex.extension.envsupport.observer.graphics.drawable3d.Torus3d
-
public class Torus3d extends Primitive3d
-
-
Field Summary
Fields Modifier and Type Field Description protected int
_circleSamples
protected double
_innerRadius
protected double
_outerRadius
protected int
_radialSamples
-
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 Torus3d(double radius, double innerRadius, double outerRadius, int circleSamples, int radialSamples)
Creates default Tube.Torus3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String materialpath, java.lang.String texturePath, double innerRadius, double outerRadius, int circleSamples, int radialSamples, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.ArrayList<SpatialControl> controler)
Creates a new Cylinder3d drawable.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCircleSamples()
double
getInnerRadius()
double
getOuterRadius()
int
getRadialSamples()
void
setCircleSamples(int circleSamples)
void
setInnerRadius(double innerRadius)
void
setOuterRadius(double outerRadius)
void
setRadialSamples(int radialSamples)
-
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, setType
-
Methods inherited from class jadex.extension.envsupport.observer.graphics.drawable3d.AbstractVisual3d
bindPosition, bindRotation, bindSize, getPosition, getRotation, getSize, setPosition, setRotation, setSize
-
-
-
-
Constructor Detail
-
Torus3d
public Torus3d(double radius, double innerRadius, double outerRadius, int circleSamples, int radialSamples)
Creates default Tube.- Parameters:
outerRadius
-innerRadius
-height
-
-
Torus3d
public Torus3d(java.lang.Object position, java.lang.Object rotation, java.lang.Object size, int absFlags, java.lang.Object c, java.lang.String materialpath, java.lang.String texturePath, double innerRadius, double outerRadius, int circleSamples, int radialSamples, IParsedExpression drawcondition, java.lang.String shadowtype, java.util.ArrayList<SpatialControl> controler)
Creates a new Cylinder3d drawable.- Parameters:
position
- position or position-bindingxrotation
- xrotation or rotation-bindingyrotation
- yrotation or rotation-bindingzrotation
- zrotation or rotation-bindingsize
- size or size-bindingabsFlags
- flags for setting position, size and rotation as absolutesc
- modulation color or bindingradius
-samples
-planes
-
-
-
Method Detail
-
getInnerRadius
public double getInnerRadius()
- Returns:
- the _innerRadius
-
setInnerRadius
public void setInnerRadius(double innerRadius)
- Parameters:
_innerRadius
- the _innerRadius to set
-
getOuterRadius
public double getOuterRadius()
- Returns:
- the _outerRadius
-
setOuterRadius
public void setOuterRadius(double outerRadius)
- Parameters:
_outerRadius
- the _outerRadius to set
-
getCircleSamples
public int getCircleSamples()
- Returns:
- the _circleSamples
-
setCircleSamples
public void setCircleSamples(int circleSamples)
- Parameters:
_circleSamples
- the _circleSamples to set
-
getRadialSamples
public int getRadialSamples()
- Returns:
- the _radialSamples
-
setRadialSamples
public void setRadialSamples(int radialSamples)
- Parameters:
_radialSamples
- the _radialSamples to set
-
-