MarkupView
- class Communicator.Markup.MarkupView()
Methods
Methods
addMarkupItem
- MarkupView.addMarkupItem(markupItem)
Adds a markup item to this view
- Arguments
markupItem (
MarkupItem()
) – the markup to be added to this view.
- Return type
void
forJson
- MarkupView.forJson()
- Deprecated
Use
toJson
instead.- Return type
Object
getCamera
getColorMap
getCuttingPlaneData
- MarkupView.getCuttingPlaneData()
- Return type
Object
- Returns
a JSON object with the cutting plane data associated with this view
getDefaultVisibility
- MarkupView.getDefaultVisibility()
- Return type
boolean
getExplodeMagnitude
- MarkupView.getExplodeMagnitude()
- Return type
number
- Returns
the explode value associated with this view
getFaceVisibility
- MarkupView.getFaceVisibility()
Gets face visibility setting for this view
- Return type
boolean
- Returns
face visibility setting for this view
getLineVisibility
- MarkupView.getLineVisibility()
Gets line visibility setting for this view
- Return type
boolean
- Returns
line visibility setting for this view
getMarkup
- MarkupView.getMarkup()
Gets an array of markup items associated with this view
- Return type
- Returns
face visibility setting for this view
getName
- MarkupView.getName()
Gets the name of this view
- Return type
string
- Returns
name of this view
getSheetId
getSnapshotImage
- MarkupView.getSnapshotImage()
- Return type
HTMLImageElement | null
getUniqueId
getVisibilityExceptions
removeMarkup
- MarkupView.removeMarkup(item)
Removes a markup item from the view
- Arguments
item (
MarkupItem()
) –
- Return type
boolean
- Returns
result of the removal operation
setColorMap
setCuttingPlaneData
- MarkupView.setCuttingPlaneData(cuttingPlaneData)
Takes a JSON cutting plane data object and associates it with this view
- Arguments
cuttingPlaneData (
Object()
) –
- Return type
void
setDefaultVisibility
- MarkupView.setDefaultVisibility(defaultVisibility)
- Arguments
defaultVisibility (
boolean()
) –
- Return type
void
setExplodeMagnitude
- MarkupView.setExplodeMagnitude(explodeMagnitude)
Takes an explode magnitude and associates it with this view
- Arguments
explodeMagnitude (
number()
) –
- Return type
void
setFaceVisibility
- MarkupView.setFaceVisibility(faceVisibility)
Sets face visibility for this view
- Arguments
faceVisibility (
boolean()
) – face visibility setting for this view
- Return type
void
setLineVisibility
- MarkupView.setLineVisibility(lineVisibility)
Sets line visibility for this view
- Arguments
lineVisibility (
boolean()
) – line visibility setting for this view
- Return type
void
setName
- MarkupView.setName(name)
Sets the name for this view
- Arguments
name (
string()
) – name to set
- Return type
void
setSnapshotImage
- MarkupView.setSnapshotImage(image)
- Arguments
image (
HTMLImageElement()
) –
- Return type
void
setVisibilityExceptions
toJson
- MarkupView.toJson()
Creates an object ready for JSON serialization.
- Return type
Object
- Returns
The prepared object.