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
Graphic3d_Camera
Class Graphic3d_Camera
Hierarchy
Standard_Transient
Graphic3d_Camera
Graphic3d_Camera_1
Graphic3d_Camera_2
Index
Constructors
constructor
Methods
Aspect
Axial
Scale
Center
Convert
Proj2
View
Convert
View2
Proj
Convert
View2
World
Convert
World2
View
Copy
Copy
Mapping
Data
Copy
Orientation
Data
Decrement
Ref
Counter
Delete
Direction
Distance
Dump
Json
Dynamic
Type
Eye
FOV2d
FOVx
FOVy
Fit
Min
Max
Frustum
Frustum
Points
GetIODType
Get
Ref
Count
IOD
Increment
Ref
Counter
Invalidate
Orientation
Invalidate
Projection
Is
Custom
Mono
Projection
Is
Custom
Stereo
Frustum
Is
Custom
Stereo
Projection
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Orthographic
Is
Stereo
Is
Zero
To
One
Depth
Move
Eye
To
NDC2d
OffsetX
NDC2d
OffsetY
Orientation
Matrix
Orientation
MatrixF
Orthogonalize
Up
Orthogonalized
Up
Project
Projection
Matrix
Projection
MatrixF
Projection
State
Projection
Stereo
Left
Projection
Stereo
LeftF
Projection
Stereo
Right
Projection
Stereo
RightF
Projection
Type
Reset
Custom
Projection
Scale
Set
Aspect
Set
Axial
Scale
Set
Center
Set
Custom
Mono
Projection
Set
Custom
Stereo
Frustums
Set
Custom
Stereo
Projection
Set
Direction
Set
Direction
From
Eye
Set
Distance
Set
Eye
Set
Eye
And
Center
SetFOV2d
SetFOVy
SetIOD
Set
Identity
Orientation
Set
Projection
Type
Set
Scale
Set
Tile
Set
Up
SetZFocus
SetZRange
Set
Zero
To
One
Depth
Side
Right
Stereo
Projection
Stereo
ProjectionF
This
Tile
Transform
Un
Project
Up
View
Dimensions_
1
View
Dimensions_
2
World
View
Proj
State
World
View
State
ZFar
ZFit
All_
1
ZFit
All_
2
ZFocus
ZFocus
Type
ZNear
delete
Interpolate
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
Graphic3d_
Camera
(
)
:
Graphic3d_Camera
Returns
Graphic3d_Camera
Methods
Aspect
Aspect
(
)
:
number
Returns
number
Axial
Scale
Axial
Scale
(
)
:
gp_XYZ
Returns
gp_XYZ
Center
Center
(
)
:
gp_Pnt
Returns
gp_Pnt
Convert
Proj2
View
Convert
Proj2
View
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Convert
View2
Proj
Convert
View2
Proj
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Convert
View2
World
Convert
View2
World
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Convert
World2
View
Convert
World2
View
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Copy
Copy
(
theOther
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theOther:
Handle_Graphic3d_Camera
Returns
void
Copy
Mapping
Data
Copy
Mapping
Data
(
theOtherCamera
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theOtherCamera:
Handle_Graphic3d_Camera
Returns
void
Copy
Orientation
Data
Copy
Orientation
Data
(
theOtherCamera
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theOtherCamera:
Handle_Graphic3d_Camera
Returns
void
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Direction
Direction
(
)
:
gp_Dir
Returns
gp_Dir
Distance
Distance
(
)
:
number
Returns
number
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
Eye
Eye
(
)
:
gp_Pnt
Returns
gp_Pnt
FOV2d
FOV2d
(
)
:
number
Returns
number
FOVx
FOVx
(
)
:
number
Returns
number
FOVy
FOVy
(
)
:
number
Returns
number
Fit
Min
Max
Fit
Min
Max
(
theBox
:
Bnd_Box
, theResolution
:
number
, theToEnlargeIfLine
:
boolean
)
:
boolean
Parameters
theBox:
Bnd_Box
theResolution:
number
theToEnlargeIfLine:
boolean
Returns
boolean
Frustum
Frustum
(
theLeft
:
gp_Pln
, theRight
:
gp_Pln
, theBottom
:
gp_Pln
, theTop
:
gp_Pln
, theNear
:
gp_Pln
, theFar
:
gp_Pln
)
:
void
Parameters
theLeft:
gp_Pln
theRight:
gp_Pln
theBottom:
gp_Pln
theTop:
gp_Pln
theNear:
gp_Pln
theFar:
gp_Pln
Returns
void
Frustum
Points
Frustum
Points
(
thePoints
:
NCollection_Array1
<
Graphic3d_Vec3d
>
, theModelWorld
:
OpenGl_Mat4d
)
:
void
Parameters
thePoints:
NCollection_Array1
<
Graphic3d_Vec3d
>
theModelWorld:
OpenGl_Mat4d
Returns
void
GetIODType
GetIODType
(
)
:
any
Returns
any
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
IOD
IOD
(
)
:
number
Returns
number
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Invalidate
Orientation
Invalidate
Orientation
(
)
:
void
Returns
void
Invalidate
Projection
Invalidate
Projection
(
)
:
void
Returns
void
Is
Custom
Mono
Projection
Is
Custom
Mono
Projection
(
)
:
boolean
Returns
boolean
Is
Custom
Stereo
Frustum
Is
Custom
Stereo
Frustum
(
)
:
boolean
Returns
boolean
Is
Custom
Stereo
Projection
Is
Custom
Stereo
Projection
(
)
:
boolean
Returns
boolean
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
Orthographic
Is
Orthographic
(
)
:
boolean
Returns
boolean
Is
Stereo
Is
Stereo
(
)
:
boolean
Returns
boolean
Is
Zero
To
One
Depth
Is
Zero
To
One
Depth
(
)
:
boolean
Returns
boolean
Move
Eye
To
Move
Eye
To
(
theEye
:
gp_Pnt
)
:
void
Parameters
theEye:
gp_Pnt
Returns
void
NDC2d
OffsetX
NDC2d
OffsetX
(
)
:
number
Returns
number
NDC2d
OffsetY
NDC2d
OffsetY
(
)
:
number
Returns
number
Orientation
Matrix
Orientation
Matrix
(
)
:
OpenGl_Mat4d
Returns
OpenGl_Mat4d
Orientation
MatrixF
Orientation
MatrixF
(
)
:
OpenGl_Mat4
Returns
OpenGl_Mat4
Orthogonalize
Up
Orthogonalize
Up
(
)
:
void
Returns
void
Orthogonalized
Up
Orthogonalized
Up
(
)
:
gp_Dir
Returns
gp_Dir
Project
Project
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Projection
Matrix
Projection
Matrix
(
)
:
OpenGl_Mat4d
Returns
OpenGl_Mat4d
Projection
MatrixF
Projection
MatrixF
(
)
:
OpenGl_Mat4
Returns
OpenGl_Mat4
Projection
State
Projection
State
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
Projection
Stereo
Left
Projection
Stereo
Left
(
)
:
OpenGl_Mat4d
Returns
OpenGl_Mat4d
Projection
Stereo
LeftF
Projection
Stereo
LeftF
(
)
:
OpenGl_Mat4
Returns
OpenGl_Mat4
Projection
Stereo
Right
Projection
Stereo
Right
(
)
:
OpenGl_Mat4d
Returns
OpenGl_Mat4d
Projection
Stereo
RightF
Projection
Stereo
RightF
(
)
:
OpenGl_Mat4
Returns
OpenGl_Mat4
Projection
Type
Projection
Type
(
)
:
any
Returns
any
Reset
Custom
Projection
Reset
Custom
Projection
(
)
:
void
Returns
void
Scale
Scale
(
)
:
number
Returns
number
Set
Aspect
Set
Aspect
(
theAspect
:
number
)
:
void
Parameters
theAspect:
number
Returns
void
Set
Axial
Scale
Set
Axial
Scale
(
theAxialScale
:
gp_XYZ
)
:
void
Parameters
theAxialScale:
gp_XYZ
Returns
void
Set
Center
Set
Center
(
theCenter
:
gp_Pnt
)
:
void
Parameters
theCenter:
gp_Pnt
Returns
void
Set
Custom
Mono
Projection
Set
Custom
Mono
Projection
(
theProj
:
OpenGl_Mat4d
)
:
void
Parameters
theProj:
OpenGl_Mat4d
Returns
void
Set
Custom
Stereo
Frustums
Set
Custom
Stereo
Frustums
(
theFrustumL
:
Aspect_FrustumLRBT
<
number
>
, theFrustumR
:
Aspect_FrustumLRBT
<
number
>
)
:
void
Parameters
theFrustumL:
Aspect_FrustumLRBT
<
number
>
theFrustumR:
Aspect_FrustumLRBT
<
number
>
Returns
void
Set
Custom
Stereo
Projection
Set
Custom
Stereo
Projection
(
theProjL
:
OpenGl_Mat4d
, theHeadToEyeL
:
OpenGl_Mat4d
, theProjR
:
OpenGl_Mat4d
, theHeadToEyeR
:
OpenGl_Mat4d
)
:
void
Parameters
theProjL:
OpenGl_Mat4d
theHeadToEyeL:
OpenGl_Mat4d
theProjR:
OpenGl_Mat4d
theHeadToEyeR:
OpenGl_Mat4d
Returns
void
Set
Direction
Set
Direction
(
theDir
:
gp_Dir
)
:
void
Parameters
theDir:
gp_Dir
Returns
void
Set
Direction
From
Eye
Set
Direction
From
Eye
(
theDir
:
gp_Dir
)
:
void
Parameters
theDir:
gp_Dir
Returns
void
Set
Distance
Set
Distance
(
theDistance
:
number
)
:
void
Parameters
theDistance:
number
Returns
void
Set
Eye
Set
Eye
(
theEye
:
gp_Pnt
)
:
void
Parameters
theEye:
gp_Pnt
Returns
void
Set
Eye
And
Center
Set
Eye
And
Center
(
theEye
:
gp_Pnt
, theCenter
:
gp_Pnt
)
:
void
Parameters
theEye:
gp_Pnt
theCenter:
gp_Pnt
Returns
void
SetFOV2d
SetFOV2d
(
theFOV
:
number
)
:
void
Parameters
theFOV:
number
Returns
void
SetFOVy
SetFOVy
(
theFOVy
:
number
)
:
void
Parameters
theFOVy:
number
Returns
void
SetIOD
SetIOD
(
theType
:
any
, theIOD
:
number
)
:
void
Parameters
theType:
any
theIOD:
number
Returns
void
Set
Identity
Orientation
Set
Identity
Orientation
(
)
:
void
Returns
void
Set
Projection
Type
Set
Projection
Type
(
theProjection
:
any
)
:
void
Parameters
theProjection:
any
Returns
void
Set
Scale
Set
Scale
(
theScale
:
number
)
:
void
Parameters
theScale:
number
Returns
void
Set
Tile
Set
Tile
(
theTile
:
Graphic3d_CameraTile
)
:
void
Parameters
theTile:
Graphic3d_CameraTile
Returns
void
Set
Up
Set
Up
(
theUp
:
gp_Dir
)
:
void
Parameters
theUp:
gp_Dir
Returns
void
SetZFocus
SetZFocus
(
theType
:
any
, theZFocus
:
number
)
:
void
Parameters
theType:
any
theZFocus:
number
Returns
void
SetZRange
SetZRange
(
theZNear
:
number
, theZFar
:
number
)
:
void
Parameters
theZNear:
number
theZFar:
number
Returns
void
Set
Zero
To
One
Depth
Set
Zero
To
One
Depth
(
theIsZeroToOne
:
boolean
)
:
void
Parameters
theIsZeroToOne:
boolean
Returns
void
Side
Right
Side
Right
(
)
:
gp_Dir
Returns
gp_Dir
Stereo
Projection
Stereo
Projection
(
theProjL
:
OpenGl_Mat4d
, theHeadToEyeL
:
OpenGl_Mat4d
, theProjR
:
OpenGl_Mat4d
, theHeadToEyeR
:
OpenGl_Mat4d
)
:
void
Parameters
theProjL:
OpenGl_Mat4d
theHeadToEyeL:
OpenGl_Mat4d
theProjR:
OpenGl_Mat4d
theHeadToEyeR:
OpenGl_Mat4d
Returns
void
Stereo
ProjectionF
Stereo
ProjectionF
(
theProjL
:
OpenGl_Mat4
, theHeadToEyeL
:
OpenGl_Mat4
, theProjR
:
OpenGl_Mat4
, theHeadToEyeR
:
OpenGl_Mat4
)
:
void
Parameters
theProjL:
OpenGl_Mat4
theHeadToEyeL:
OpenGl_Mat4
theProjR:
OpenGl_Mat4
theHeadToEyeR:
OpenGl_Mat4
Returns
void
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Tile
Tile
(
)
:
Graphic3d_CameraTile
Returns
Graphic3d_CameraTile
Transform
Transform
(
theTrsf
:
gp_Trsf
)
:
void
Parameters
theTrsf:
gp_Trsf
Returns
void
Un
Project
Un
Project
(
thePnt
:
gp_Pnt
)
:
gp_Pnt
Parameters
thePnt:
gp_Pnt
Returns
gp_Pnt
Up
Up
(
)
:
gp_Dir
Returns
gp_Dir
View
Dimensions_
1
View
Dimensions_
1
(
)
:
gp_XYZ
Returns
gp_XYZ
View
Dimensions_
2
View
Dimensions_
2
(
theZValue
:
number
)
:
gp_XYZ
Parameters
theZValue:
number
Returns
gp_XYZ
World
View
Proj
State
World
View
Proj
State
(
)
:
Graphic3d_WorldViewProjState
Returns
Graphic3d_WorldViewProjState
World
View
State
World
View
State
(
)
:
Standard_ThreadId
Returns
Standard_ThreadId
ZFar
ZFar
(
)
:
number
Returns
number
ZFit
All_
1
ZFit
All_
1
(
theScaleFactor
:
number
, theMinMax
:
Bnd_Box
, theGraphicBB
:
Bnd_Box
, theZNear
:
number
, theZFar
:
number
)
:
boolean
Parameters
theScaleFactor:
number
theMinMax:
Bnd_Box
theGraphicBB:
Bnd_Box
theZNear:
number
theZFar:
number
Returns
boolean
ZFit
All_
2
ZFit
All_
2
(
theScaleFactor
:
number
, theMinMax
:
Bnd_Box
, theGraphicBB
:
Bnd_Box
)
:
void
Parameters
theScaleFactor:
number
theMinMax:
Bnd_Box
theGraphicBB:
Bnd_Box
Returns
void
ZFocus
ZFocus
(
)
:
number
Returns
number
ZFocus
Type
ZFocus
Type
(
)
:
any
Returns
any
ZNear
ZNear
(
)
:
number
Returns
number
delete
delete
(
)
:
void
Returns
void
Static
Interpolate
Interpolate
(
theStart
:
Handle_Graphic3d_Camera
, theEnd
:
Handle_Graphic3d_Camera
, theT
:
number
, theCamera
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theStart:
Handle_Graphic3d_Camera
theEnd:
Handle_Graphic3d_Camera
theT:
number
theCamera:
Handle_Graphic3d_Camera
Returns
void
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
Graphic3d_
Camera
constructor
Aspect
Axial
Scale
Center
Convert
Proj2
View
Convert
View2
Proj
Convert
View2
World
Convert
World2
View
Copy
Copy
Mapping
Data
Copy
Orientation
Data
Decrement
Ref
Counter
Delete
Direction
Distance
Dump
Json
Dynamic
Type
Eye
FOV2d
FOVx
FOVy
Fit
Min
Max
Frustum
Frustum
Points
GetIODType
Get
Ref
Count
IOD
Increment
Ref
Counter
Invalidate
Orientation
Invalidate
Projection
Is
Custom
Mono
Projection
Is
Custom
Stereo
Frustum
Is
Custom
Stereo
Projection
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Orthographic
Is
Stereo
Is
Zero
To
One
Depth
Move
Eye
To
NDC2d
OffsetX
NDC2d
OffsetY
Orientation
Matrix
Orientation
MatrixF
Orthogonalize
Up
Orthogonalized
Up
Project
Projection
Matrix
Projection
MatrixF
Projection
State
Projection
Stereo
Left
Projection
Stereo
LeftF
Projection
Stereo
Right
Projection
Stereo
RightF
Projection
Type
Reset
Custom
Projection
Scale
Set
Aspect
Set
Axial
Scale
Set
Center
Set
Custom
Mono
Projection
Set
Custom
Stereo
Frustums
Set
Custom
Stereo
Projection
Set
Direction
Set
Direction
From
Eye
Set
Distance
Set
Eye
Set
Eye
And
Center
SetFOV2d
SetFOVy
SetIOD
Set
Identity
Orientation
Set
Projection
Type
Set
Scale
Set
Tile
Set
Up
SetZFocus
SetZRange
Set
Zero
To
One
Depth
Side
Right
Stereo
Projection
Stereo
ProjectionF
This
Tile
Transform
Un
Project
Up
View
Dimensions_
1
View
Dimensions_
2
World
View
Proj
State
World
View
State
ZFar
ZFit
All_
1
ZFit
All_
2
ZFocus
ZFocus
Type
ZNear
delete
Interpolate
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc