Manual Reference Source
import Section from 'modelo3d/doc/View/tool/Section.js'
public class | source

Section

Constructor Summary

Public Constructor
public

Constructor of the section box object.

Method Summary

Public Methods
public

Delete all resources of the section.

public
public

reset(renderer: Object)

Reset the boudningbox of the section tool

public

setEnabled(enabled: *)

Enable/Disable the section tool

public

Set the section to be interactive so that users can manipulate the clipping planes with mouse

public

setSensitivity(sensitivity: number)

Set the sensitivity of the section tool

Public Constructors

public constructor(viewer: Viewer3D) source

Constructor of the section box object.

Params:

NameTypeAttributeDescription
viewer Viewer3D

Public Methods

public destroy() source

Delete all resources of the section.

public isInteractEnabled(): boolean source

Return:

boolean

True if section is interactive.

public reset(renderer: Object) source

Reset the boudningbox of the section tool

Params:

NameTypeAttributeDescription
renderer Object

public setEnabled(enabled: *) source

Enable/Disable the section tool

Params:

NameTypeAttributeDescription
enabled *

public setInteractEnabled(enabled: boolean) source

Set the section to be interactive so that users can manipulate the clipping planes with mouse

Params:

NameTypeAttributeDescription
enabled boolean

public setSensitivity(sensitivity: number) source

Set the sensitivity of the section tool

Params:

NameTypeAttributeDescription
sensitivity number