|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IMTComponent
The Interface IMTComponent.
| Method Summary | |
|---|---|
boolean |
containsPointGlobal(Vector3D testPoint)Checks whether this, or this component's children contains the specified point. |
void |
drawComponent(processing.core.PGraphics g)Draws this component. |
int |
getID()Gets the iD. |
java.lang.String |
getName()Gets the name. |
processing.core.PApplet |
getRenderer()Gets the renderer. |
boolean |
isEnabled()Checks if the component is enabled. |
boolean |
isGestureAllowed(java.lang.Class extends IInputProcessor> c)Checks if the gesture is allowed on this component. |
boolean |
isVisible()Checks if the component is visible. |
boolean |
processInputEvent(MTInputEvent inEvt)Processes the input event. |
void |
rotateZGlobal(Vector3D rotationPoint, float degree)Rotates the component around its z-axis and the rotation point (in world coordiantes). |
void |
scaleGlobal(float factorX, float factorY, float factorZ, Vector3D scalingPoint)Scales the component in world from the scalingpoint (in world coordiantes) in the 3 axis. |
void |
setEnabled(boolean enabled)Sets the component enabled. |
void |
setName(java.lang.String name)Sets the name of the component. |
void |
setVisible(boolean visible)Sets the visibility. |
void |
translateGlobal(Vector3D directionVect)Translates the object in the given direction relative to the global world coordinate frame. |
void |
updateComponent(long timeDelta)Updates the component. |
| Method Detail |
|---|
void rotateZGlobal(Vector3D rotationPoint,
float degree)
rotationPoint - the rotation pointdegree - the degreevoid translateGlobal(Vector3D directionVect)
directionVect - the direction vect
void scaleGlobal(float factorX,
float factorY,
float factorZ,
Vector3D scalingPoint)
factorX - the factor xfactorY - the factor yfactorZ - the factor zscalingPoint - the scaling pointvoid drawComponent(processing.core.PGraphics g)
g - the gvoid updateComponent(long timeDelta)
timeDelta - the time deltaint getID()
java.lang.String getName()
void setName(java.lang.String name)
name - the new nameprocessing.core.PApplet getRenderer()
boolean isEnabled()
void setEnabled(boolean enabled)
enabled - the new enabledboolean isVisible()
void setVisible(boolean visible)
visible - the new visibleboolean containsPointGlobal(Vector3D testPoint)
testPoint - the test pointboolean isGestureAllowed(java.lang.Class extends IInputProcessor> c)
c - The Class of the InputAnalyzer (Gesture Analyzer)boolean processInputEvent(MTInputEvent inEvt)
inEvt - the in evt
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||