Search
Preparing search index...
The search index is not available
OpenCascade.js - v2.0.0-beta.533428a
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
OpenCascade.js - v2.0.0-beta.533428a
Wasm_Window
Class Wasm_Window
Hierarchy
Aspect_Window
Wasm_Window
Index
Constructors
constructor
Methods
Background
Background
Fill
Method
Canvas
Id
Convert
Point
From
Backing
Convert
Point
To
Backing
Decrement
Ref
Counter
Delete
Device
Pixel
Ratio
Display
Connection
Do
Mapping
Do
Resize
Dump
Json
Dynamic
Type
Get
Ref
Count
Gradient
Background
Increment
Ref
Counter
Invalidate
Content
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Mapped
Is
Virtual
Map
NativeFBConfig
Native
Handle
Native
Parent
Handle
Position
Process
Focus
Event
Process
Key
Event
Process
Message
Process
Mouse
Event
Process
Touch
Event
Process
Ui
Event
Process
Wheel
Event
Ratio
Set
Background_
1
Set
Background_
2
Set
Background_
3
Set
Background_
4
Set
Device
Pixel
Ratio
Set
Size
Backing
Set
Size
Logical
Set
Title
Set
Virtual
Size
This
Unmap
delete
Mouse
Buttons
From
Native
Virtual
Key
From
Native
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Wasm_
Window
(
theCanvasId
:
XCAFDoc_PartId
, theToScaleBacking
:
boolean
)
:
Wasm_Window
Parameters
theCanvasId:
XCAFDoc_PartId
theToScaleBacking:
boolean
Returns
Wasm_Window
Methods
Background
Background
(
)
:
Aspect_Background
Returns
Aspect_Background
Background
Fill
Method
Background
Fill
Method
(
)
:
Aspect_FillMethod
Returns
Aspect_FillMethod
Canvas
Id
Canvas
Id
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Convert
Point
From
Backing
Convert
Point
From
Backing
(
thePnt
:
OpenGl_Vec2d
)
:
OpenGl_Vec2d
Parameters
thePnt:
OpenGl_Vec2d
Returns
OpenGl_Vec2d
Convert
Point
To
Backing
Convert
Point
To
Backing
(
thePnt
:
OpenGl_Vec2d
)
:
OpenGl_Vec2d
Parameters
thePnt:
OpenGl_Vec2d
Returns
OpenGl_Vec2d
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Device
Pixel
Ratio
Device
Pixel
Ratio
(
)
:
number
Returns
number
Display
Connection
Display
Connection
(
)
:
Handle_Aspect_DisplayConnection
Returns
Handle_Aspect_DisplayConnection
Do
Mapping
Do
Mapping
(
)
:
boolean
Returns
boolean
Do
Resize
Do
Resize
(
)
:
Aspect_TypeOfResize
Returns
Aspect_TypeOfResize
Dump
Json
Dump
Json
(
theOStream
:
Standard_OStream
, theDepth
:
Graphic3d_ZLayerId
)
:
void
Parameters
theOStream:
Standard_OStream
theDepth:
Graphic3d_ZLayerId
Returns
void
Dynamic
Type
Dynamic
Type
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Gradient
Background
Gradient
Background
(
)
:
Aspect_GradientBackground
Returns
Aspect_GradientBackground
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Invalidate
Content
Invalidate
Content
(
theDisp
:
Handle_Aspect_DisplayConnection
)
:
void
Parameters
theDisp:
Handle_Aspect_DisplayConnection
Returns
void
Is
Instance_
1
Is
Instance_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Instance_
2
Is
Instance_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Kind_
1
Is
Kind_
1
(
theType
:
Handle_Standard_Type
)
:
boolean
Parameters
theType:
Handle_Standard_Type
Returns
boolean
Is
Kind_
2
Is
Kind_
2
(
theTypeName
:
string
)
:
boolean
Parameters
theTypeName:
string
Returns
boolean
Is
Mapped
Is
Mapped
(
)
:
boolean
Returns
boolean
Is
Virtual
Is
Virtual
(
)
:
boolean
Returns
boolean
Map
Map
(
)
:
void
Returns
void
NativeFBConfig
NativeFBConfig
(
)
:
Aspect_FBConfig
Returns
Aspect_FBConfig
Native
Handle
Native
Handle
(
)
:
Aspect_Drawable
Returns
Aspect_Drawable
Native
Parent
Handle
Native
Parent
Handle
(
)
:
Aspect_Drawable
Returns
Aspect_Drawable
Position
Position
(
theX1
:
Graphic3d_ZLayerId
, theY1
:
Graphic3d_ZLayerId
, theX2
:
Graphic3d_ZLayerId
, theY2
:
Graphic3d_ZLayerId
)
:
void
Parameters
theX1:
Graphic3d_ZLayerId
theY1:
Graphic3d_ZLayerId
theX2:
Graphic3d_ZLayerId
theY2:
Graphic3d_ZLayerId
Returns
void
Process
Focus
Event
Process
Focus
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenFocusEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenFocusEvent
Returns
boolean
Process
Key
Event
Process
Key
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenKeyboardEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenKeyboardEvent
Returns
boolean
Process
Message
Process
Message
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
C_f
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
C_f
Returns
boolean
Process
Mouse
Event
Process
Mouse
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenMouseEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenMouseEvent
Returns
boolean
Process
Touch
Event
Process
Touch
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenTouchEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenTouchEvent
Returns
boolean
Process
Ui
Event
Process
Ui
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenUiEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenUiEvent
Returns
boolean
Process
Wheel
Event
Process
Wheel
Event
(
theListener
:
Aspect_WindowInputListener
, theEventType
:
number
, theEvent
:
EmscriptenWheelEvent
)
:
boolean
Parameters
theListener:
Aspect_WindowInputListener
theEventType:
number
theEvent:
EmscriptenWheelEvent
Returns
boolean
Ratio
Ratio
(
)
:
number
Returns
number
Set
Background_
1
Set
Background_
1
(
ABack
:
Aspect_Background
)
:
void
Parameters
ABack:
Aspect_Background
Returns
void
Set
Background_
2
Set
Background_
2
(
color
:
Quantity_Color
)
:
void
Parameters
color:
Quantity_Color
Returns
void
Set
Background_
3
Set
Background_
3
(
ABackground
:
Aspect_GradientBackground
)
:
void
Parameters
ABackground:
Aspect_GradientBackground
Returns
void
Set
Background_
4
Set
Background_
4
(
theFirstColor
:
Quantity_Color
, theSecondColor
:
Quantity_Color
, theFillMethod
:
Aspect_GradientFillMethod
)
:
void
Parameters
theFirstColor:
Quantity_Color
theSecondColor:
Quantity_Color
theFillMethod:
Aspect_GradientFillMethod
Returns
void
Set
Device
Pixel
Ratio
Set
Device
Pixel
Ratio
(
theDevicePixelRatio
:
number
)
:
void
Parameters
theDevicePixelRatio:
number
Returns
void
Set
Size
Backing
Set
Size
Backing
(
theSize
:
OpenGl_Vec2i
)
:
void
Parameters
theSize:
OpenGl_Vec2i
Returns
void
Set
Size
Logical
Set
Size
Logical
(
theSize
:
OpenGl_Vec2d
)
:
void
Parameters
theSize:
OpenGl_Vec2d
Returns
void
Set
Title
Set
Title
(
theTitle
:
XCAFDoc_PartId
)
:
void
Parameters
theTitle:
XCAFDoc_PartId
Returns
void
Set
Virtual
Set
Virtual
(
theVirtual
:
boolean
)
:
void
Parameters
theVirtual:
boolean
Returns
void
Size
Size
(
theWidth
:
Graphic3d_ZLayerId
, theHeight
:
Graphic3d_ZLayerId
)
:
void
Parameters
theWidth:
Graphic3d_ZLayerId
theHeight:
Graphic3d_ZLayerId
Returns
void
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Unmap
Unmap
(
)
:
void
Returns
void
delete
delete
(
)
:
void
Returns
void
Static
Mouse
Buttons
From
Native
Mouse
Buttons
From
Native
(
theButtons
:
number
)
:
Aspect_VKeyMouse
Parameters
theButtons:
number
Returns
Aspect_VKeyMouse
Static
Virtual
Key
From
Native
Virtual
Key
From
Native
(
theKey
:
Graphic3d_ZLayerId
)
:
Aspect_VKey
Parameters
theKey:
Graphic3d_ZLayerId
Returns
Aspect_VKey
Static
get_
type_
descriptor
get_
type_
descriptor
(
)
:
Handle_Standard_Type
Returns
Handle_Standard_Type
Static
get_
type_
name
get_
type_
name
(
)
:
number
Returns
number
Exports
Wasm_
Window
constructor
Background
Background
Fill
Method
Canvas
Id
Convert
Point
From
Backing
Convert
Point
To
Backing
Decrement
Ref
Counter
Delete
Device
Pixel
Ratio
Display
Connection
Do
Mapping
Do
Resize
Dump
Json
Dynamic
Type
Get
Ref
Count
Gradient
Background
Increment
Ref
Counter
Invalidate
Content
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Mapped
Is
Virtual
Map
NativeFBConfig
Native
Handle
Native
Parent
Handle
Position
Process
Focus
Event
Process
Key
Event
Process
Message
Process
Mouse
Event
Process
Touch
Event
Process
Ui
Event
Process
Wheel
Event
Ratio
Set
Background_
1
Set
Background_
2
Set
Background_
3
Set
Background_
4
Set
Device
Pixel
Ratio
Set
Size
Backing
Set
Size
Logical
Set
Title
Set
Virtual
Size
This
Unmap
delete
Mouse
Buttons
From
Native
Virtual
Key
From
Native
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc