stage object the component belongs to
volume object to wrap
component parameters
stage object the component belongs to
volume object to wrap
Component type
Add a new representation to the component
the name of the representation
the object on which the representation should be based
the created representation wrapped into a representation element object
Add an anotation object
the 3d position
the HTML content
the added annotation object
Add a new volume representation to the component
Automatically center and zoom the component
Iterator over each annotation and executing the callback
function to execute
Iterator over each representation and executing the callback
function to execute
the component's bounding box
the component's center position
Remove all annotations from the component
Removes all representation components
Remove the give annotation from the component
the annotation to remove
Removes a representation component
the representation element
Set position transform
the coordinates
this object
Set rotation transform
the rotation
this object
Set scale transform
the scale
this object
Set general transform. Is applied before and in addition to the position, rotation and scale transformations
the matrix
this object
Set the visibility of the component, including added representations
visibility flag
this object
Events emitted by the component
Generated using TypeDoc
Component wrapping a Volume object
// get a volume component by loading a volume file into the stage stage.loadFile( "url/for/volume" ).then(function(volumeComponent){ volumeComponent.addRepresentation('surface'); volumeComponent.autoView(); });