Preparing search index...
The search index is not available
@cmi-dair/brainviewer
@cmi-dair/brainviewer
ViewerClient
Class ViewerClient
Hierarchy
ViewerClient
Index
Constructors
constructor
Properties
camera
controls
elem
raycaster
renderer
scene
Methods
add
Listener
add
Model
delete
Model
dispose
get
Models
on
Window
Resize
render
set
Alpha
set
Background
Color
set
Target
Constructors
constructor
new
Viewer
Client
(
elem
)
:
ViewerClient
Parameters
elem
:
HTMLElement
Returns
ViewerClient
Properties
Private
camera
camera
:
PerspectiveCamera
controls
controls
:
CameraControls
Private
elem
elem
:
HTMLElement
Private
raycaster
raycaster
:
Raycaster
renderer
renderer
:
WebGLRenderer
Private
scene
scene
:
Scene
Methods
add
Listener
add
Listener
(
eventName
,
callable
)
:
void
Parameters
eventName
:
string
callable
:
(
(
evt
,
intersects
?
)
=>
void
)
(
evt
,
intersects
?
)
:
void
Parameters
evt
:
Event
Optional
intersects
:
Intersection
<
Object3D
<
Event
>
>
[]
Returns
void
Returns
void
add
Model
add
Model
(
surface
)
:
Mesh
<
BufferGeometry
<
NormalBufferAttributes
>
,
Material
|
Material
[]
>
Parameters
surface
:
Surface
Returns
Mesh
<
BufferGeometry
<
NormalBufferAttributes
>
,
Material
|
Material
[]
>
delete
Model
delete
Model
(
surface
)
:
void
Parameters
surface
:
Mesh
<
BufferGeometry
<
NormalBufferAttributes
>
,
Material
|
Material
[]
>
Returns
void
dispose
dispose
(
)
:
void
Returns
void
get
Models
get
Models
(
)
:
Mesh
<
BufferGeometry
<
NormalBufferAttributes
>
,
Material
|
Material
[]
>
[]
Returns
Mesh
<
BufferGeometry
<
NormalBufferAttributes
>
,
Material
|
Material
[]
>
[]
on
Window
Resize
on
Window
Resize
(
)
:
void
Returns
void
Private
render
render
(
)
:
void
Returns
void
set
Alpha
set
Alpha
(
alpha
)
:
void
Parameters
alpha
:
number
Returns
void
set
Background
Color
set
Background
Color
(
color
)
:
void
Parameters
color
:
string
Returns
void
set
Target
set
Target
(
targetName
)
:
undefined
Parameters
targetName
:
string
Returns
undefined
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
camera
controls
elem
raycaster
renderer
scene
add
Listener
add
Model
delete
Model
dispose
get
Models
on
Window
Resize
render
set
Alpha
set
Background
Color
set
Target
@cmi-
dair/brainviewer
Legend
Mesh
Colors
Surface
Surface
Mesh
Viewer
Client
color
Interpolates
color
Maps
min
Max
Generated using
TypeDoc