Static Member Summary
| Static Public Members | ||
| public static |
pixelSizes: * |
|
Static Method Summary
| Static Public Methods | ||
| public static |
mixinPixelSizedGeometry(pixelSizes: *) A mixin which adds capability of specifying sizes in screen pixels. |
|
| public static |
registerVisualization(view: *, obj: *) Makes given THREE object suitable for visualization on given View. |
|
Constructor Summary
| Public Constructor | ||
| public |
constructor(options: *) |
|
Member Summary
| Public Members | ||
| public |
|
|
| public |
|
|
| public |
font: * |
|
| public |
modelMethods: * |
|
| public |
|
|
| public |
socket: * |
|
| public |
stateDiff: * |
|
| public |
view: * |
|
Method Summary
| Public Methods | ||
| public |
askConstraintParams(oldParams: *): * |
|
| public |
|
|
| public |
checkSolveResult(result: *): boolean |
|
| public |
chooseTool(toolName: *): * |
|
| public |
click(): * |
|
| public |
deleteSketch(): * |
|
| public |
deselectSketch(options: *): boolean |
|
| public |
|
|
| public |
|
|
| public |
moveUnderConstraints(object: *, newPnt: *) |
|
| public |
newSketch(position: *, quaternion: *, item: *): * |
|
| public |
newSketchFromPlane(plane: *): * |
|
| public |
onDisabled(integration: *): * |
|
| public |
onEnabled(integration: *) |
|
| public |
refresh() |
|
| public |
selectSketch(sketch: *): boolean |
|
| public |
setActionCursor(action: *) |
|
| public |
setIncrementalLevel(value: *) |
|
| public |
setPrompt(promptText: *) |
|
| public |
showSketchControlElements(isInSketch: *) |
|
| public |
sketchAreaClicked(sketch: *) |
|
| public |
sketchAreaRightClicked(sketch: *) |
|
| public |
solveConstraints(): * |
|
| public |
switchToOrthographicCamera(view: *, sketch: *) |
|
| public |
switchToPerspectiveCamera(view: *) |
|
Inherited Summary
| From class Events | ||
| public static |
mixin(object: *, handlers: *) |
|
| public |
bubble(type: *, args: ...*): * |
|
| public |
emit(type: *, args: ...*): * |
|
| public |
findListener(type: *): * |
|
| public |
hasListener(type: *, callback: *): * |
|
| public |
inspect(callback: *) |
|
| public |
|
|
| public |
onFirst(type: *, callback: *) |
|
| public |
onLast(type: *, callback: *) |
|
| public |
once(type: *, callback: *) |
|
| public |
|
|
| public |
removeListener(types: *, callback: *): * |
|
| public |
|
|
| From class Plugin | ||
| public |
data: * |
|
| public |
integration: * |
|
| public |
apply(objects: *) |
|
| public |
|
|
| public |
|
|
| public |
|
|
| public |
|
|
Static Public Members
public static pixelSizes: * source
Static Public Methods
public static mixinPixelSizedGeometry(pixelSizes: *) source
A mixin which adds capability of specifying sizes in screen pixels. All sizes are kept in a single list 'pixelSizes'. Method 'updateSizes' is added: it should be called by user when camera/size changes. It passes geometrical sizes (in local object space) to method 'setGeomSizes'. If 'getSizingPoint' method is present in class, it is called to get calibrating position in local space of the object (otherwise origin is used).
Params:
| Name | Type | Attribute | Description |
| pixelSizes | * |
public static registerVisualization(view: *, obj: *) source
Makes given THREE object suitable for visualization on given View. It adds interaction on the object with update method. The update method allows to automatically recalculate sizes and visible geometry of the object. The function can be called many times, but the object must not have other interaction on it. Ideally, this method should be called immediately after the object has been created.
Params:
| Name | Type | Attribute | Description |
| view | * | ||
| obj | * |
Public Constructors
public constructor(options: *) source
Override:
Plugin#constructorParams:
| Name | Type | Attribute | Description |
| options | * |
Public Members
public currentCursor: * source
public currentSketch: * source
public font: * source
public modelMethods: * source
public namedElements: * source
public socket: * source
public stateDiff: * source
public view: * source
Public Methods
public askConstraintParams(oldParams: *): * source
Params:
| Name | Type | Attribute | Description |
| oldParams | * |
Return:
| * |
public autoconstraintAll() source
public initElements() source
public interactionPointMoved() source
public moveUnderConstraints(object: *, newPnt: *) source
Params:
| Name | Type | Attribute | Description |
| object | * | ||
| newPnt | * |
public newSketch(position: *, quaternion: *, item: *): * source
Params:
| Name | Type | Attribute | Description |
| position | * | ||
| quaternion | * | ||
| item | * |
Return:
| * |
public newSketchFromPlane(plane: *): * source
Params:
| Name | Type | Attribute | Description |
| plane | * |
Return:
| * |
public onDisabled(integration: *): * source
Override:
Plugin#onDisabledParams:
| Name | Type | Attribute | Description |
| integration | * |
Return:
| * |
public onEnabled(integration: *) source
Override:
Plugin#onEnabledParams:
| Name | Type | Attribute | Description |
| integration | * |
public refresh() source
public setActionCursor(action: *) source
Params:
| Name | Type | Attribute | Description |
| action | * |
public setIncrementalLevel(value: *) source
Params:
| Name | Type | Attribute | Description |
| value | * |
public setPrompt(promptText: *) source
Params:
| Name | Type | Attribute | Description |
| promptText | * |
public showSketchControlElements(isInSketch: *) source
Params:
| Name | Type | Attribute | Description |
| isInSketch | * |
public sketchAreaClicked(sketch: *) source
Params:
| Name | Type | Attribute | Description |
| sketch | * |
public sketchAreaRightClicked(sketch: *) source
Params:
| Name | Type | Attribute | Description |
| sketch | * |
public switchToOrthographicCamera(view: *, sketch: *) source
Params:
| Name | Type | Attribute | Description |
| view | * | ||
| sketch | * |
public switchToPerspectiveCamera(view: *) source
Params:
| Name | Type | Attribute | Description |
| view | * |