the actionve ITool
the camera used by the view
the document which is shown by the view
the drag controls
the font used to draw room name and other text contents
name of the view
the orbitControls which is used to control the scene
the threejs scene of the view
add a singleshot callback executed after next frame rendered
a unique key to avoid adding duplicate callback
add a singleshot callback executed before next frame rendered
a unique key to avoid adding duplicate callback
register an obj with onclick callback
caculate appropriate camera zoom/position
viewport, {@link viewport()} by default
move the camera to the specified {@link position} and {@link zoom} in {@link duration}
a shortcut of flyTo, fly to the center of the box and calculate zoom automatically
get the axis aligned bounding box of the content, undefined if the package is empty
户型图中的某种元素是否可见
hide the default objects in the scene
execute a ray casting from the mouse position on the screen and along the normal of the screen
pop up the current tool and return it. it will be suspended and the caller should decide whether to dispose it
push a new ITool and set it as the activeTool, the previous tool will be suspended and the new tooll will be resumed
unregister an obj with onclick callback
resume the view
设置户型图中的某种元素是否可见
show the default objects in the scene
suspend the view
world position to screen position
get the viewport of the renderer, ususally it is (0, 0, canvas.clientWidth, canvas.clientHeigh)
Generated using TypeDoc
a 2d floorplan view coordinate: x axis points to right and y points to up unit: meter