Class Index | File Index

Classes


Class ROS3D.Arrow


Defined in: Arrow.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
ROS3D.Arrow(options)
A Arrow is a THREE object that can be used to display an arrow model.
Method Summary
Method Attributes Method Name and Description
 
setColor(hex)
Set the color of this arrow to the given hex value.
 
setDirection(direction)
Set the direction of this arrow to that of the given vector.
 
setLength(length)
Set this arrow to be the given length.
Class Detail
ROS3D.Arrow(options)
A Arrow is a THREE object that can be used to display an arrow model.
Parameters:
options
- object with following keys: * origin (optional) - the origin of the arrow * direction (optional) - the direction vector of the arrow * length (optional) - the length of the arrow * headLength (optional) - the head length of the arrow * shaftDiameter (optional) - the shaft diameter of the arrow * headDiameter (optional) - the head diameter of the arrow * material (optional) - the material to use for this arrow
Method Detail
setColor(hex)
Set the color of this arrow to the given hex value.
Parameters:
hex
- the hex value of the color to use

setDirection(direction)
Set the direction of this arrow to that of the given vector.
Parameters:
direction
- the direction to set this arrow

setLength(length)
Set this arrow to be the given length.
Parameters:
length
- the new length of the arrow

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Apr 03 2013 18:15:58 GMT-0700 (PDT)