Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Deck of Cards
idsdkObjects
Card
defaulttrue
labelUI Control
titleInterface for displaying object's properties

 

Please note that the selected objects can also be previewed(visualized) using the viewport3d, viewport3dController and its related templates.

Card
labelController & Methods
titleThe modules to be loaded for using this interface

Controller: object3dController

Methods: No public methods

initViewport(): Initialize 3D viewport object

showDetails(String object_id): Show object details

highlightNode(String object_id, Object parent_node_object): Highlight currently selected node in the object structure tree view

toggleObjectViewportNode(Object node): Show/hide branch in the node tree view

highlightViewportObject(Object object): Highlight the selected object in the tree view of the 3D viewport

 

Here is a list of Ember action helper methods which could be called from template or with sendAction() method

toggleObjectNodeVisibility(Object node): Show / hide the selected object in tree view of the 3D viewport

toggleObjectNodeExpand(Object node): Show / hide the branch in the node tree view of the 3D viewport

highlightObject(Object node): Highlight the selected node and object in the 3D viewport

highlightObjectNode(): Hightlight node/branch in the tree view according to the selected object of the 3D viewport

reset(): Resets the object view

find(String object_guid): Gets the object details and returns a deferred object

findGeometry(String object_id, String model_id): Gets the object geometry and returns the deferred object

Card
labelTemplate & View
titleThe template that has to be loaded

Template: object3d.hbs

View: object3dView

...