Constructor Summary
Public Constructor | ||
public |
constructor(stage: Stage, trajectory: Trajectory, params: TrajectoryComponentParameters, parent: StructureComponent) |
Member Summary
Public Members | ||
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Events emitted by the component |
|
public |
|
|
public |
|
|
public get |
Component type |
Method Summary
Public Methods | ||
public |
addRepresentation(type: String, params: RepresentationParameters): RepresentationComponent Add trajectory representation |
|
public |
dispose() |
|
public |
|
|
public |
Set the frame of the trajectory |
|
public |
setParameters(params: TrajectoryParameters): undefined Set trajectory parameters |
Inherited Summary
From class Component | ||
public get |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Events emitted by the component |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
addAnnotation(position: Vector3, content: String | Element, params: Object): Annotation Add an anotation object |
|
public |
|
|
public |
addRepresentation(type: String, object: Object, params: RepresentationParameters): RepresentationComponent Add a new representation to the component |
|
public |
Automatically center and zoom the component |
|
public |
dispose() |
|
public |
eachAnnotation(callback: Function): undefined Iterator over each annotation and executing the callback |
|
public |
eachRepresentation(callback: Function): undefined Iterator over each representation and executing the callback |
|
public |
|
|
public abstract |
|
|
public |
|
|
public |
|
|
public |
getZoom() |
|
public |
|
|
public |
Remove all annotations from the component |
|
public |
Removes all representation components |
|
public |
removeAnnotation(annotation: Annotation): undefined Remove the give annotation from the component |
|
public |
Removes a representation component |
|
public |
setName() |
|
public |
setPosition(p: Vector3 | Array): Component Set position transform |
|
public |
setRotation(r: Quaternion | Euler | Array): Component Set rotation transform |
|
public |
Set scale transform |
|
public |
|
|
public |
setTransform(m: Matrix4): Component Set general transform. |
|
public |
setVisibility(value: Boolean): Component Set the visibility of the component, including added representations |
|
public |
|
|
public |
|
Public Constructors
public constructor(stage: Stage, trajectory: Trajectory, params: TrajectoryComponentParameters, parent: StructureComponent) source
Override:
Component#constructorParams:
Name | Type | Attribute | Description |
stage | Stage | stage object the component belongs to |
|
trajectory | Trajectory | the trajectory object |
|
params | TrajectoryComponentParameters | component parameters |
|
parent | StructureComponent | the parent structure |
Public Members
public defaultDirection source
public defaultInterpolateStep source
public defaultInterpolateType source
public defaultMode source
public defaultStep source
public defaultTimeout source
public parent source
public signals: TrajectoryComponentSignals source
Events emitted by the component
Override:
Component#signalspublic trajectory source
Public Methods
public addRepresentation(type: String, params: RepresentationParameters): RepresentationComponent source
Add trajectory representation
Override:
Component#addRepresentationParams:
Name | Type | Attribute | Description |
type | String | representation type, currently only: "trajectory" |
|
params | RepresentationParameters | parameters |
public setFrame(i: Integer): undefined source
Set the frame of the trajectory
Params:
Name | Type | Attribute | Description |
i | Integer | frame number |
public setParameters(params: TrajectoryParameters): undefined source
Set trajectory parameters
Params:
Name | Type | Attribute | Description |
params | TrajectoryParameters | trajectory parameters |