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
V3d_View_2
Class V3d_View_2
Hierarchy
V3d_View
V3d_View_2
Index
Constructors
constructor
Methods
Active
Light
Active
Light
Iterator
Active
Lights
Add
Clip
Plane
At
AutoZFit
AutoZFit
Mode
AutoZFit
Scale
Factor
Axial
Scale_
1
Axial
Scale_
2
Back
Facing
Model
Background
Color_
1
Background
Color_
2
Camera
Change
Rendering
Params
ClearPBREnvironment
Clip
Planes
Computed
Mode
Convert
To
Grid_
1
Convert
To
Grid_
2
Convert
With
Proj
Convert_
1
Convert_
2
Convert_
3
Convert_
4
Convert_
5
Convert_
6
Decrement
Ref
Counter
Default
Camera
Delete
Depth
Depth
Fit
All
Diagnostic
Information
Do
Mapping
Dump
Dump
Json
Dynamic
Type
Eye
Fit
All_
1
Fit
All_
2
Fit
All_
3
Fit
Min
Max
Focal
Reference
Point
Focale
GeneratePBREnvironment
Get
Graduated
Trihedron
Get
Ref
Count
Gradient
Background
Gradient
Background
Colors
Graduated
Trihedron
Display
Graduated
Trihedron
Erase
Gravity
Point
If
More
Lights
If
Window
Increment
Ref
Counter
Init
Active
Lights
Invalidate
Invalidate
Immediate
Is
Active
Light
Is
Culling
Enabled
Is
Empty
Is
Image
Based
Lighting
Is
Instance_
1
Is
Instance_
2
Is
Invalidated
Is
Invalidated
Immediate
Is
Kind_
1
Is
Kind_
2
Light
Limit
More
Active
Lights
Move_
1
Move_
2
Move_
3
Must
Be
Resized
Next
Active
Lights
Pan
Panning
Place
Plane
Limit
Proj
Proj
Reference
Axe
Project_
1
Project_
2
Redraw
Redraw
Immediate
Remove
Remove
Clip
Plane
Rendering
Params
Reset
Reset
View
Mapping
Reset
View
Orientation
Rotate_
1
Rotate_
2
Rotate_
3
Rotate_
4
Rotate_
5
Rotation
Scale_
1
Set
At
Set
AutoZFit
Mode
Set
Axial
Scale
Set
Axis
Set
Back
Facing
Model
Set
Background
Color_
1
Set
Background
Color_
2
Set
Background
Cube
Map
Set
Background
Image_
1
Set
Background
Image_
2
Set
Bg
Gradient
Colors
Set
Bg
Gradient
Style
Set
Bg
Image
Style
Set
Camera
Set
Center
Set
Clip
Planes
Set
Computed
Mode
Set
Depth
Set
Eye
Set
Focale
Set
Front
Set
Frustum
Culling
Set
Grid
Set
Grid
Activity
Set
Image
Based
Lighting
Set
Immediate
Update
Set
Light
Off_
1
Set
Light
Off_
2
Set
Light
On_
1
Set
Light
On_
2
Set
Magnify
Set
Proj_
1
Set
Proj_
2
Set
Scale
Set
Shading
Model
Set
Size
Set
Texture
Env
Set
Twist
Set
Up_
1
Set
Up_
2
Set
View
Mapping
Default
Set
View
Orientation
Default
Set
Visualization
Set
Window
SetZSize
Set
Zoom
Shading
Model
Size
Start
Rotation
Start
Zoom
At
Point
Statistic
Information_
1
Statistic
Information_
2
Texture
Env
This
To
Pix
Map_
1
To
Pix
Map_
2
Translate_
1
Translate_
2
Translate_
3
Triedron
Display
Triedron
Erase
Trihedron
Turn_
1
Turn_
2
Turn_
3
Twist
Type
Up
Update
Update
Lights
View
Viewer
Visualization
Window
Window
Fit
Window
Fit
All
ZBuffer
Triedron
Setup
ZFit
All
ZSize
Zoom
Zoom
At
Point
delete
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new
V3d_
View_
2
(
theViewer
:
Handle_V3d_Viewer
, theView
:
Handle_V3d_View
)
:
V3d_View_2
Parameters
theViewer:
Handle_V3d_Viewer
theView:
Handle_V3d_View
Returns
V3d_View_2
Methods
Active
Light
Active
Light
(
)
:
any
Returns
any
Active
Light
Iterator
Active
Light
Iterator
(
)
:
V3d_ListOfLightIterator
Returns
V3d_ListOfLightIterator
Active
Lights
Active
Lights
(
)
:
V3d_ListOfLight
Returns
V3d_ListOfLight
Add
Clip
Plane
Add
Clip
Plane
(
thePlane
:
Handle_Graphic3d_ClipPlane
)
:
void
Parameters
thePlane:
Handle_Graphic3d_ClipPlane
Returns
void
At
At
(
X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Returns
void
AutoZFit
AutoZFit
(
)
:
void
Returns
void
AutoZFit
Mode
AutoZFit
Mode
(
)
:
boolean
Returns
boolean
AutoZFit
Scale
Factor
AutoZFit
Scale
Factor
(
)
:
number
Returns
number
Axial
Scale_
1
Axial
Scale_
1
(
Sx
:
number
, Sy
:
number
, Sz
:
number
)
:
void
Parameters
Sx:
number
Sy:
number
Sz:
number
Returns
void
Axial
Scale_
2
Axial
Scale_
2
(
Dx
:
Graphic3d_ZLayerId
, Dy
:
Graphic3d_ZLayerId
, Axis
:
V3d_TypeOfAxe
)
:
void
Parameters
Dx:
Graphic3d_ZLayerId
Dy:
Graphic3d_ZLayerId
Axis:
V3d_TypeOfAxe
Returns
void
Back
Facing
Model
Back
Facing
Model
(
)
:
V3d_TypeOfBackfacingModel
Returns
V3d_TypeOfBackfacingModel
Background
Color_
1
Background
Color_
1
(
Type
:
Quantity_TypeOfColor
, V1
:
number
, V2
:
number
, V3
:
number
)
:
void
Parameters
Type:
Quantity_TypeOfColor
V1:
number
V2:
number
V3:
number
Returns
void
Background
Color_
2
Background
Color_
2
(
)
:
Quantity_Color
Returns
Quantity_Color
Camera
Camera
(
)
:
Handle_Graphic3d_Camera
Returns
Handle_Graphic3d_Camera
Change
Rendering
Params
Change
Rendering
Params
(
)
:
Graphic3d_RenderingParams
Returns
Graphic3d_RenderingParams
ClearPBREnvironment
ClearPBREnvironment
(
theToUpdate
:
boolean
)
:
void
Parameters
theToUpdate:
boolean
Returns
void
Clip
Planes
Clip
Planes
(
)
:
Handle_Graphic3d_SequenceOfHClipPlane
Returns
Handle_Graphic3d_SequenceOfHClipPlane
Computed
Mode
Computed
Mode
(
)
:
boolean
Returns
boolean
Convert
To
Grid_
1
Convert
To
Grid_
1
(
Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
, Xg
:
number
, Yg
:
number
, Zg
:
number
)
:
void
Parameters
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
Xg:
number
Yg:
number
Zg:
number
Returns
void
Convert
To
Grid_
2
Convert
To
Grid_
2
(
X
:
number
, Y
:
number
, Z
:
number
, Xg
:
number
, Yg
:
number
, Zg
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Xg:
number
Yg:
number
Zg:
number
Returns
void
Convert
With
Proj
Convert
With
Proj
(
Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
, X
:
number
, Y
:
number
, Z
:
number
, Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
X:
number
Y:
number
Z:
number
Vx:
number
Vy:
number
Vz:
number
Returns
void
Convert_
1
Convert_
1
(
Vp
:
Graphic3d_ZLayerId
)
:
number
Parameters
Vp:
Graphic3d_ZLayerId
Returns
number
Convert_
2
Convert_
2
(
Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
, Xv
:
number
, Yv
:
number
)
:
void
Parameters
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
Xv:
number
Yv:
number
Returns
void
Convert_
3
Convert_
3
(
Vv
:
number
)
:
Graphic3d_ZLayerId
Parameters
Vv:
number
Returns
Graphic3d_ZLayerId
Convert_
4
Convert_
4
(
Xv
:
number
, Yv
:
number
, Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
)
:
void
Parameters
Xv:
number
Yv:
number
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
Returns
void
Convert_
5
Convert_
5
(
Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
, X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
X:
number
Y:
number
Z:
number
Returns
void
Convert_
6
Convert_
6
(
X
:
number
, Y
:
number
, Z
:
number
, Xp
:
Graphic3d_ZLayerId
, Yp
:
Graphic3d_ZLayerId
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Xp:
Graphic3d_ZLayerId
Yp:
Graphic3d_ZLayerId
Returns
void
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Default
Camera
Default
Camera
(
)
:
Handle_Graphic3d_Camera
Returns
Handle_Graphic3d_Camera
Delete
Delete
(
)
:
void
Returns
void
Depth
Depth
(
)
:
number
Returns
number
Depth
Fit
All
Depth
Fit
All
(
Aspect
:
number
, Margin
:
number
)
:
void
Parameters
Aspect:
number
Margin:
number
Returns
void
Diagnostic
Information
Diagnostic
Information
(
theDict
:
TColStd_IndexedDataMapOfStringString
, theFlags
:
Graphic3d_DiagnosticInfo
)
:
void
Parameters
theDict:
TColStd_IndexedDataMapOfStringString
theFlags:
Graphic3d_DiagnosticInfo
Returns
void
Do
Mapping
Do
Mapping
(
)
:
void
Returns
void
Dump
Dump
(
theFile
:
string
, theBufferType
:
Graphic3d_BufferType
)
:
boolean
Parameters
theFile:
string
theBufferType:
Graphic3d_BufferType
Returns
boolean
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
(
X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Returns
void
Fit
All_
1
Fit
All_
1
(
theMargin
:
number
, theToUpdate
:
boolean
)
:
void
Parameters
theMargin:
number
theToUpdate:
boolean
Returns
void
Fit
All_
2
Fit
All_
2
(
theBox
:
Bnd_Box
, theMargin
:
number
, theToUpdate
:
boolean
)
:
void
Parameters
theBox:
Bnd_Box
theMargin:
number
theToUpdate:
boolean
Returns
void
Fit
All_
3
Fit
All_
3
(
theMinXv
:
number
, theMinYv
:
number
, theMaxXv
:
number
, theMaxYv
:
number
)
:
void
Parameters
theMinXv:
number
theMinYv:
number
theMaxXv:
number
theMaxYv:
number
Returns
void
Fit
Min
Max
Fit
Min
Max
(
theCamera
:
Handle_Graphic3d_Camera
, theBox
:
Bnd_Box
, theMargin
:
number
, theResolution
:
number
, theToEnlargeIfLine
:
boolean
)
:
boolean
Parameters
theCamera:
Handle_Graphic3d_Camera
theBox:
Bnd_Box
theMargin:
number
theResolution:
number
theToEnlargeIfLine:
boolean
Returns
boolean
Focal
Reference
Point
Focal
Reference
Point
(
X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Returns
void
Focale
Focale
(
)
:
number
Returns
number
GeneratePBREnvironment
GeneratePBREnvironment
(
theToUpdate
:
boolean
)
:
void
Parameters
theToUpdate:
boolean
Returns
void
Get
Graduated
Trihedron
Get
Graduated
Trihedron
(
)
:
Graphic3d_GraduatedTrihedron
Returns
Graphic3d_GraduatedTrihedron
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Gradient
Background
Gradient
Background
(
)
:
Aspect_GradientBackground
Returns
Aspect_GradientBackground
Gradient
Background
Colors
Gradient
Background
Colors
(
theColor1
:
Quantity_Color
, theColor2
:
Quantity_Color
)
:
void
Parameters
theColor1:
Quantity_Color
theColor2:
Quantity_Color
Returns
void
Graduated
Trihedron
Display
Graduated
Trihedron
Display
(
theTrihedronData
:
Graphic3d_GraduatedTrihedron
)
:
void
Parameters
theTrihedronData:
Graphic3d_GraduatedTrihedron
Returns
void
Graduated
Trihedron
Erase
Graduated
Trihedron
Erase
(
)
:
void
Returns
void
Gravity
Point
Gravity
Point
(
)
:
gp_Pnt
Returns
gp_Pnt
If
More
Lights
If
More
Lights
(
)
:
boolean
Returns
boolean
If
Window
If
Window
(
)
:
boolean
Returns
boolean
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Init
Active
Lights
Init
Active
Lights
(
)
:
void
Returns
void
Invalidate
Invalidate
(
)
:
void
Returns
void
Invalidate
Immediate
Invalidate
Immediate
(
)
:
void
Returns
void
Is
Active
Light
Is
Active
Light
(
theLight
:
any
)
:
boolean
Parameters
theLight:
any
Returns
boolean
Is
Culling
Enabled
Is
Culling
Enabled
(
)
:
boolean
Returns
boolean
Is
Empty
Is
Empty
(
)
:
boolean
Returns
boolean
Is
Image
Based
Lighting
Is
Image
Based
Lighting
(
)
:
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
Invalidated
Is
Invalidated
(
)
:
boolean
Returns
boolean
Is
Invalidated
Immediate
Is
Invalidated
Immediate
(
)
:
boolean
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
Light
Limit
Light
Limit
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
More
Active
Lights
More
Active
Lights
(
)
:
boolean
Returns
boolean
Move_
1
Move_
1
(
Dx
:
number
, Dy
:
number
, Dz
:
number
, Start
:
boolean
)
:
void
Parameters
Dx:
number
Dy:
number
Dz:
number
Start:
boolean
Returns
void
Move_
2
Move_
2
(
Axe
:
V3d_TypeOfAxe
, Length
:
number
, Start
:
boolean
)
:
void
Parameters
Axe:
V3d_TypeOfAxe
Length:
number
Start:
boolean
Returns
void
Move_
3
Move_
3
(
Length
:
number
, Start
:
boolean
)
:
void
Parameters
Length:
number
Start:
boolean
Returns
void
Must
Be
Resized
Must
Be
Resized
(
)
:
void
Returns
void
Next
Active
Lights
Next
Active
Lights
(
)
:
void
Returns
void
Pan
Pan
(
theDXp
:
Graphic3d_ZLayerId
, theDYp
:
Graphic3d_ZLayerId
, theZoomFactor
:
number
, theToStart
:
boolean
)
:
void
Parameters
theDXp:
Graphic3d_ZLayerId
theDYp:
Graphic3d_ZLayerId
theZoomFactor:
number
theToStart:
boolean
Returns
void
Panning
Panning
(
theDXv
:
number
, theDYv
:
number
, theZoomFactor
:
number
, theToStart
:
boolean
)
:
void
Parameters
theDXv:
number
theDYv:
number
theZoomFactor:
number
theToStart:
boolean
Returns
void
Place
Place
(
theXp
:
Graphic3d_ZLayerId
, theYp
:
Graphic3d_ZLayerId
, theZoomFactor
:
number
)
:
void
Parameters
theXp:
Graphic3d_ZLayerId
theYp:
Graphic3d_ZLayerId
theZoomFactor:
number
Returns
void
Plane
Limit
Plane
Limit
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Proj
Proj
(
Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
Vx:
number
Vy:
number
Vz:
number
Returns
void
Proj
Reference
Axe
Proj
Reference
Axe
(
Xpix
:
Graphic3d_ZLayerId
, Ypix
:
Graphic3d_ZLayerId
, XP
:
number
, YP
:
number
, ZP
:
number
, VX
:
number
, VY
:
number
, VZ
:
number
)
:
void
Parameters
Xpix:
Graphic3d_ZLayerId
Ypix:
Graphic3d_ZLayerId
XP:
number
YP:
number
ZP:
number
VX:
number
VY:
number
VZ:
number
Returns
void
Project_
1
Project_
1
(
theX
:
number
, theY
:
number
, theZ
:
number
, theXp
:
number
, theYp
:
number
)
:
void
Parameters
theX:
number
theY:
number
theZ:
number
theXp:
number
theYp:
number
Returns
void
Project_
2
Project_
2
(
theX
:
number
, theY
:
number
, theZ
:
number
, theXp
:
number
, theYp
:
number
, theZp
:
number
)
:
void
Parameters
theX:
number
theY:
number
theZ:
number
theXp:
number
theYp:
number
theZp:
number
Returns
void
Redraw
Redraw
(
)
:
void
Returns
void
Redraw
Immediate
Redraw
Immediate
(
)
:
void
Returns
void
Remove
Remove
(
)
:
void
Returns
void
Remove
Clip
Plane
Remove
Clip
Plane
(
thePlane
:
Handle_Graphic3d_ClipPlane
)
:
void
Parameters
thePlane:
Handle_Graphic3d_ClipPlane
Returns
void
Rendering
Params
Rendering
Params
(
)
:
Graphic3d_RenderingParams
Returns
Graphic3d_RenderingParams
Reset
Reset
(
theToUpdate
:
boolean
)
:
void
Parameters
theToUpdate:
boolean
Returns
void
Reset
View
Mapping
Reset
View
Mapping
(
)
:
void
Returns
void
Reset
View
Orientation
Reset
View
Orientation
(
)
:
void
Returns
void
Rotate_
1
Rotate_
1
(
Ax
:
number
, Ay
:
number
, Az
:
number
, Start
:
boolean
)
:
void
Parameters
Ax:
number
Ay:
number
Az:
number
Start:
boolean
Returns
void
Rotate_
2
Rotate_
2
(
Ax
:
number
, Ay
:
number
, Az
:
number
, X
:
number
, Y
:
number
, Z
:
number
, Start
:
boolean
)
:
void
Parameters
Ax:
number
Ay:
number
Az:
number
X:
number
Y:
number
Z:
number
Start:
boolean
Returns
void
Rotate_
3
Rotate_
3
(
Axe
:
V3d_TypeOfAxe
, Angle
:
number
, X
:
number
, Y
:
number
, Z
:
number
, Start
:
boolean
)
:
void
Parameters
Axe:
V3d_TypeOfAxe
Angle:
number
X:
number
Y:
number
Z:
number
Start:
boolean
Returns
void
Rotate_
4
Rotate_
4
(
Axe
:
V3d_TypeOfAxe
, Angle
:
number
, Start
:
boolean
)
:
void
Parameters
Axe:
V3d_TypeOfAxe
Angle:
number
Start:
boolean
Returns
void
Rotate_
5
Rotate_
5
(
Angle
:
number
, Start
:
boolean
)
:
void
Parameters
Angle:
number
Start:
boolean
Returns
void
Rotation
Rotation
(
X
:
Graphic3d_ZLayerId
, Y
:
Graphic3d_ZLayerId
)
:
void
Parameters
X:
Graphic3d_ZLayerId
Y:
Graphic3d_ZLayerId
Returns
void
Scale_
1
Scale_
1
(
)
:
number
Returns
number
Set
At
Set
At
(
X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Returns
void
Set
AutoZFit
Mode
Set
AutoZFit
Mode
(
theIsOn
:
boolean
, theScaleFactor
:
number
)
:
void
Parameters
theIsOn:
boolean
theScaleFactor:
number
Returns
void
Set
Axial
Scale
Set
Axial
Scale
(
Sx
:
number
, Sy
:
number
, Sz
:
number
)
:
void
Parameters
Sx:
number
Sy:
number
Sz:
number
Returns
void
Set
Axis
Set
Axis
(
X
:
number
, Y
:
number
, Z
:
number
, Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Vx:
number
Vy:
number
Vz:
number
Returns
void
Set
Back
Facing
Model
Set
Back
Facing
Model
(
theModel
:
V3d_TypeOfBackfacingModel
)
:
void
Parameters
theModel:
V3d_TypeOfBackfacingModel
Returns
void
Set
Background
Color_
1
Set
Background
Color_
1
(
theType
:
Quantity_TypeOfColor
, theV1
:
number
, theV2
:
number
, theV3
:
number
)
:
void
Parameters
theType:
Quantity_TypeOfColor
theV1:
number
theV2:
number
theV3:
number
Returns
void
Set
Background
Color_
2
Set
Background
Color_
2
(
theColor
:
Quantity_Color
)
:
void
Parameters
theColor:
Quantity_Color
Returns
void
Set
Background
Cube
Map
Set
Background
Cube
Map
(
theCubeMap
:
Handle_Graphic3d_CubeMap
, theToUpdatePBREnv
:
boolean
, theToUpdate
:
boolean
)
:
void
Parameters
theCubeMap:
Handle_Graphic3d_CubeMap
theToUpdatePBREnv:
boolean
theToUpdate:
boolean
Returns
void
Set
Background
Image_
1
Set
Background
Image_
1
(
theFileName
:
string
, theFillStyle
:
Aspect_FillMethod
, theToUpdate
:
boolean
)
:
void
Parameters
theFileName:
string
theFillStyle:
Aspect_FillMethod
theToUpdate:
boolean
Returns
void
Set
Background
Image_
2
Set
Background
Image_
2
(
theTexture
:
Handle_Graphic3d_Texture2D
, theFillStyle
:
Aspect_FillMethod
, theToUpdate
:
boolean
)
:
void
Parameters
theTexture:
Handle_Graphic3d_Texture2D
theFillStyle:
Aspect_FillMethod
theToUpdate:
boolean
Returns
void
Set
Bg
Gradient
Colors
Set
Bg
Gradient
Colors
(
theColor1
:
Quantity_Color
, theColor2
:
Quantity_Color
, theFillStyle
:
Aspect_GradientFillMethod
, theToUpdate
:
boolean
)
:
void
Parameters
theColor1:
Quantity_Color
theColor2:
Quantity_Color
theFillStyle:
Aspect_GradientFillMethod
theToUpdate:
boolean
Returns
void
Set
Bg
Gradient
Style
Set
Bg
Gradient
Style
(
theMethod
:
Aspect_GradientFillMethod
, theToUpdate
:
boolean
)
:
void
Parameters
theMethod:
Aspect_GradientFillMethod
theToUpdate:
boolean
Returns
void
Set
Bg
Image
Style
Set
Bg
Image
Style
(
theFillStyle
:
Aspect_FillMethod
, theToUpdate
:
boolean
)
:
void
Parameters
theFillStyle:
Aspect_FillMethod
theToUpdate:
boolean
Returns
void
Set
Camera
Set
Camera
(
theCamera
:
Handle_Graphic3d_Camera
)
:
void
Parameters
theCamera:
Handle_Graphic3d_Camera
Returns
void
Set
Center
Set
Center
(
theXp
:
Graphic3d_ZLayerId
, theYp
:
Graphic3d_ZLayerId
)
:
void
Parameters
theXp:
Graphic3d_ZLayerId
theYp:
Graphic3d_ZLayerId
Returns
void
Set
Clip
Planes
Set
Clip
Planes
(
thePlanes
:
Handle_Graphic3d_SequenceOfHClipPlane
)
:
void
Parameters
thePlanes:
Handle_Graphic3d_SequenceOfHClipPlane
Returns
void
Set
Computed
Mode
Set
Computed
Mode
(
theMode
:
boolean
)
:
void
Parameters
theMode:
boolean
Returns
void
Set
Depth
Set
Depth
(
Depth
:
number
)
:
void
Parameters
Depth:
number
Returns
void
Set
Eye
Set
Eye
(
X
:
number
, Y
:
number
, Z
:
number
)
:
void
Parameters
X:
number
Y:
number
Z:
number
Returns
void
Set
Focale
Set
Focale
(
Focale
:
number
)
:
void
Parameters
Focale:
number
Returns
void
Set
Front
Set
Front
(
)
:
void
Returns
void
Set
Frustum
Culling
Set
Frustum
Culling
(
theMode
:
boolean
)
:
void
Parameters
theMode:
boolean
Returns
void
Set
Grid
Set
Grid
(
aPlane
:
gp_Ax3
, aGrid
:
Handle_Aspect_Grid
)
:
void
Parameters
aPlane:
gp_Ax3
aGrid:
Handle_Aspect_Grid
Returns
void
Set
Grid
Activity
Set
Grid
Activity
(
aFlag
:
boolean
)
:
void
Parameters
aFlag:
boolean
Returns
void
Set
Image
Based
Lighting
Set
Image
Based
Lighting
(
theToEnableIBL
:
boolean
, theToUpdate
:
boolean
)
:
void
Parameters
theToEnableIBL:
boolean
theToUpdate:
boolean
Returns
void
Set
Immediate
Update
Set
Immediate
Update
(
theImmediateUpdate
:
boolean
)
:
boolean
Parameters
theImmediateUpdate:
boolean
Returns
boolean
Set
Light
Off_
1
Set
Light
Off_
1
(
theLight
:
any
)
:
void
Parameters
theLight:
any
Returns
void
Set
Light
Off_
2
Set
Light
Off_
2
(
)
:
void
Returns
void
Set
Light
On_
1
Set
Light
On_
1
(
theLight
:
any
)
:
void
Parameters
theLight:
any
Returns
void
Set
Light
On_
2
Set
Light
On_
2
(
)
:
void
Returns
void
Set
Magnify
Set
Magnify
(
theWindow
:
Handle_Aspect_Window
, thePreviousView
:
Handle_V3d_View
, theX1
:
Graphic3d_ZLayerId
, theY1
:
Graphic3d_ZLayerId
, theX2
:
Graphic3d_ZLayerId
, theY2
:
Graphic3d_ZLayerId
)
:
void
Parameters
theWindow:
Handle_Aspect_Window
thePreviousView:
Handle_V3d_View
theX1:
Graphic3d_ZLayerId
theY1:
Graphic3d_ZLayerId
theX2:
Graphic3d_ZLayerId
theY2:
Graphic3d_ZLayerId
Returns
void
Set
Proj_
1
Set
Proj_
1
(
Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
Vx:
number
Vy:
number
Vz:
number
Returns
void
Set
Proj_
2
Set
Proj_
2
(
theOrientation
:
V3d_TypeOfOrientation
, theIsYup
:
boolean
)
:
void
Parameters
theOrientation:
V3d_TypeOfOrientation
theIsYup:
boolean
Returns
void
Set
Scale
Set
Scale
(
Coef
:
number
)
:
void
Parameters
Coef:
number
Returns
void
Set
Shading
Model
Set
Shading
Model
(
theShadingModel
:
V3d_TypeOfShadingModel
)
:
void
Parameters
theShadingModel:
V3d_TypeOfShadingModel
Returns
void
Set
Size
Set
Size
(
theSize
:
number
)
:
void
Parameters
theSize:
number
Returns
void
Set
Texture
Env
Set
Texture
Env
(
theTexture
:
Handle_Graphic3d_TextureEnv
)
:
void
Parameters
theTexture:
Handle_Graphic3d_TextureEnv
Returns
void
Set
Twist
Set
Twist
(
Angle
:
number
)
:
void
Parameters
Angle:
number
Returns
void
Set
Up_
1
Set
Up_
1
(
Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
Vx:
number
Vy:
number
Vz:
number
Returns
void
Set
Up_
2
Set
Up_
2
(
Orientation
:
V3d_TypeOfOrientation
)
:
void
Parameters
Orientation:
V3d_TypeOfOrientation
Returns
void
Set
View
Mapping
Default
Set
View
Mapping
Default
(
)
:
void
Returns
void
Set
View
Orientation
Default
Set
View
Orientation
Default
(
)
:
void
Returns
void
Set
Visualization
Set
Visualization
(
theType
:
V3d_TypeOfVisualization
)
:
void
Parameters
theType:
V3d_TypeOfVisualization
Returns
void
Set
Window
Set
Window
(
theWindow
:
Handle_Aspect_Window
, theContext
:
Aspect_RenderingContext
)
:
void
Parameters
theWindow:
Handle_Aspect_Window
theContext:
Aspect_RenderingContext
Returns
void
SetZSize
SetZSize
(
SetZSize
:
number
)
:
void
Parameters
SetZSize:
number
Returns
void
Set
Zoom
Set
Zoom
(
Coef
:
number
, Start
:
boolean
)
:
void
Parameters
Coef:
number
Start:
boolean
Returns
void
Shading
Model
Shading
Model
(
)
:
V3d_TypeOfShadingModel
Returns
V3d_TypeOfShadingModel
Size
Size
(
Width
:
number
, Height
:
number
)
:
void
Parameters
Width:
number
Height:
number
Returns
void
Start
Rotation
Start
Rotation
(
X
:
Graphic3d_ZLayerId
, Y
:
Graphic3d_ZLayerId
, zRotationThreshold
:
number
)
:
void
Parameters
X:
Graphic3d_ZLayerId
Y:
Graphic3d_ZLayerId
zRotationThreshold:
number
Returns
void
Start
Zoom
At
Point
Start
Zoom
At
Point
(
theXp
:
Graphic3d_ZLayerId
, theYp
:
Graphic3d_ZLayerId
)
:
void
Parameters
theXp:
Graphic3d_ZLayerId
theYp:
Graphic3d_ZLayerId
Returns
void
Statistic
Information_
1
Statistic
Information_
1
(
)
:
XCAFDoc_PartId
Returns
XCAFDoc_PartId
Statistic
Information_
2
Statistic
Information_
2
(
theDict
:
TColStd_IndexedDataMapOfStringString
)
:
void
Parameters
theDict:
TColStd_IndexedDataMapOfStringString
Returns
void
Texture
Env
Texture
Env
(
)
:
Handle_Graphic3d_TextureEnv
Returns
Handle_Graphic3d_TextureEnv
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
To
Pix
Map_
1
To
Pix
Map_
1
(
theImage
:
Image_PixMap
, theParams
:
V3d_ImageDumpOptions
)
:
boolean
Parameters
theImage:
Image_PixMap
theParams:
V3d_ImageDumpOptions
Returns
boolean
To
Pix
Map_
2
To
Pix
Map_
2
(
theImage
:
Image_PixMap
, theWidth
:
Graphic3d_ZLayerId
, theHeight
:
Graphic3d_ZLayerId
, theBufferType
:
Graphic3d_BufferType
, theToAdjustAspect
:
boolean
, theStereoOptions
:
V3d_StereoDumpOptions
)
:
boolean
Parameters
theImage:
Image_PixMap
theWidth:
Graphic3d_ZLayerId
theHeight:
Graphic3d_ZLayerId
theBufferType:
Graphic3d_BufferType
theToAdjustAspect:
boolean
theStereoOptions:
V3d_StereoDumpOptions
Returns
boolean
Translate_
1
Translate_
1
(
Dx
:
number
, Dy
:
number
, Dz
:
number
, Start
:
boolean
)
:
void
Parameters
Dx:
number
Dy:
number
Dz:
number
Start:
boolean
Returns
void
Translate_
2
Translate_
2
(
Axe
:
V3d_TypeOfAxe
, Length
:
number
, Start
:
boolean
)
:
void
Parameters
Axe:
V3d_TypeOfAxe
Length:
number
Start:
boolean
Returns
void
Translate_
3
Translate_
3
(
Length
:
number
, Start
:
boolean
)
:
void
Parameters
Length:
number
Start:
boolean
Returns
void
Triedron
Display
Triedron
Display
(
thePosition
:
Aspect_TypeOfTriedronPosition
, theColor
:
Quantity_Color
, theScale
:
number
, theMode
:
V3d_TypeOfVisualization
)
:
void
Parameters
thePosition:
Aspect_TypeOfTriedronPosition
theColor:
Quantity_Color
theScale:
number
theMode:
V3d_TypeOfVisualization
Returns
void
Triedron
Erase
Triedron
Erase
(
)
:
void
Returns
void
Trihedron
Trihedron
(
theToCreate
:
boolean
)
:
Handle_V3d_Trihedron
Parameters
theToCreate:
boolean
Returns
Handle_V3d_Trihedron
Turn_
1
Turn_
1
(
Ax
:
number
, Ay
:
number
, Az
:
number
, Start
:
boolean
)
:
void
Parameters
Ax:
number
Ay:
number
Az:
number
Start:
boolean
Returns
void
Turn_
2
Turn_
2
(
Axe
:
V3d_TypeOfAxe
, Angle
:
number
, Start
:
boolean
)
:
void
Parameters
Axe:
V3d_TypeOfAxe
Angle:
number
Start:
boolean
Returns
void
Turn_
3
Turn_
3
(
Angle
:
number
, Start
:
boolean
)
:
void
Parameters
Angle:
number
Start:
boolean
Returns
void
Twist
Twist
(
)
:
number
Returns
number
Type
Type
(
)
:
V3d_TypeOfView
Returns
V3d_TypeOfView
Up
Up
(
Vx
:
number
, Vy
:
number
, Vz
:
number
)
:
void
Parameters
Vx:
number
Vy:
number
Vz:
number
Returns
void
Update
Update
(
)
:
void
Returns
void
Update
Lights
Update
Lights
(
)
:
void
Returns
void
View
View
(
)
:
Handle_Graphic3d_CView
Returns
Handle_Graphic3d_CView
Viewer
Viewer
(
)
:
Handle_V3d_Viewer
Returns
Handle_V3d_Viewer
Visualization
Visualization
(
)
:
V3d_TypeOfVisualization
Returns
V3d_TypeOfVisualization
Window
Window
(
)
:
Handle_Aspect_Window
Returns
Handle_Aspect_Window
Window
Fit
Window
Fit
(
theMinXp
:
Graphic3d_ZLayerId
, theMinYp
:
Graphic3d_ZLayerId
, theMaxXp
:
Graphic3d_ZLayerId
, theMaxYp
:
Graphic3d_ZLayerId
)
:
void
Parameters
theMinXp:
Graphic3d_ZLayerId
theMinYp:
Graphic3d_ZLayerId
theMaxXp:
Graphic3d_ZLayerId
theMaxYp:
Graphic3d_ZLayerId
Returns
void
Window
Fit
All
Window
Fit
All
(
Xmin
:
Graphic3d_ZLayerId
, Ymin
:
Graphic3d_ZLayerId
, Xmax
:
Graphic3d_ZLayerId
, Ymax
:
Graphic3d_ZLayerId
)
:
void
Parameters
Xmin:
Graphic3d_ZLayerId
Ymin:
Graphic3d_ZLayerId
Xmax:
Graphic3d_ZLayerId
Ymax:
Graphic3d_ZLayerId
Returns
void
ZBuffer
Triedron
Setup
ZBuffer
Triedron
Setup
(
theXColor
:
Quantity_Color
, theYColor
:
Quantity_Color
, theZColor
:
Quantity_Color
, theSizeRatio
:
number
, theAxisDiametr
:
number
, theNbFacettes
:
Graphic3d_ZLayerId
)
:
void
Parameters
theXColor:
Quantity_Color
theYColor:
Quantity_Color
theZColor:
Quantity_Color
theSizeRatio:
number
theAxisDiametr:
number
theNbFacettes:
Graphic3d_ZLayerId
Returns
void
ZFit
All
ZFit
All
(
theScaleFactor
:
number
)
:
void
Parameters
theScaleFactor:
number
Returns
void
ZSize
ZSize
(
)
:
number
Returns
number
Zoom
Zoom
(
theXp1
:
Graphic3d_ZLayerId
, theYp1
:
Graphic3d_ZLayerId
, theXp2
:
Graphic3d_ZLayerId
, theYp2
:
Graphic3d_ZLayerId
)
:
void
Parameters
theXp1:
Graphic3d_ZLayerId
theYp1:
Graphic3d_ZLayerId
theXp2:
Graphic3d_ZLayerId
theYp2:
Graphic3d_ZLayerId
Returns
void
Zoom
At
Point
Zoom
At
Point
(
theMouseStartX
:
Graphic3d_ZLayerId
, theMouseStartY
:
Graphic3d_ZLayerId
, theMouseEndX
:
Graphic3d_ZLayerId
, theMouseEndY
:
Graphic3d_ZLayerId
)
:
void
Parameters
theMouseStartX:
Graphic3d_ZLayerId
theMouseStartY:
Graphic3d_ZLayerId
theMouseEndX:
Graphic3d_ZLayerId
theMouseEndY:
Graphic3d_ZLayerId
Returns
void
delete
delete
(
)
:
void
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
V3d_
View_
2
constructor
Active
Light
Active
Light
Iterator
Active
Lights
Add
Clip
Plane
At
AutoZFit
AutoZFit
Mode
AutoZFit
Scale
Factor
Axial
Scale_
1
Axial
Scale_
2
Back
Facing
Model
Background
Color_
1
Background
Color_
2
Camera
Change
Rendering
Params
ClearPBREnvironment
Clip
Planes
Computed
Mode
Convert
To
Grid_
1
Convert
To
Grid_
2
Convert
With
Proj
Convert_
1
Convert_
2
Convert_
3
Convert_
4
Convert_
5
Convert_
6
Decrement
Ref
Counter
Default
Camera
Delete
Depth
Depth
Fit
All
Diagnostic
Information
Do
Mapping
Dump
Dump
Json
Dynamic
Type
Eye
Fit
All_
1
Fit
All_
2
Fit
All_
3
Fit
Min
Max
Focal
Reference
Point
Focale
GeneratePBREnvironment
Get
Graduated
Trihedron
Get
Ref
Count
Gradient
Background
Gradient
Background
Colors
Graduated
Trihedron
Display
Graduated
Trihedron
Erase
Gravity
Point
If
More
Lights
If
Window
Increment
Ref
Counter
Init
Active
Lights
Invalidate
Invalidate
Immediate
Is
Active
Light
Is
Culling
Enabled
Is
Empty
Is
Image
Based
Lighting
Is
Instance_
1
Is
Instance_
2
Is
Invalidated
Is
Invalidated
Immediate
Is
Kind_
1
Is
Kind_
2
Light
Limit
More
Active
Lights
Move_
1
Move_
2
Move_
3
Must
Be
Resized
Next
Active
Lights
Pan
Panning
Place
Plane
Limit
Proj
Proj
Reference
Axe
Project_
1
Project_
2
Redraw
Redraw
Immediate
Remove
Remove
Clip
Plane
Rendering
Params
Reset
Reset
View
Mapping
Reset
View
Orientation
Rotate_
1
Rotate_
2
Rotate_
3
Rotate_
4
Rotate_
5
Rotation
Scale_
1
Set
At
Set
AutoZFit
Mode
Set
Axial
Scale
Set
Axis
Set
Back
Facing
Model
Set
Background
Color_
1
Set
Background
Color_
2
Set
Background
Cube
Map
Set
Background
Image_
1
Set
Background
Image_
2
Set
Bg
Gradient
Colors
Set
Bg
Gradient
Style
Set
Bg
Image
Style
Set
Camera
Set
Center
Set
Clip
Planes
Set
Computed
Mode
Set
Depth
Set
Eye
Set
Focale
Set
Front
Set
Frustum
Culling
Set
Grid
Set
Grid
Activity
Set
Image
Based
Lighting
Set
Immediate
Update
Set
Light
Off_
1
Set
Light
Off_
2
Set
Light
On_
1
Set
Light
On_
2
Set
Magnify
Set
Proj_
1
Set
Proj_
2
Set
Scale
Set
Shading
Model
Set
Size
Set
Texture
Env
Set
Twist
Set
Up_
1
Set
Up_
2
Set
View
Mapping
Default
Set
View
Orientation
Default
Set
Visualization
Set
Window
SetZSize
Set
Zoom
Shading
Model
Size
Start
Rotation
Start
Zoom
At
Point
Statistic
Information_
1
Statistic
Information_
2
Texture
Env
This
To
Pix
Map_
1
To
Pix
Map_
2
Translate_
1
Translate_
2
Translate_
3
Triedron
Display
Triedron
Erase
Trihedron
Turn_
1
Turn_
2
Turn_
3
Twist
Type
Up
Update
Update
Lights
View
Viewer
Visualization
Window
Window
Fit
Window
Fit
All
ZBuffer
Triedron
Setup
ZFit
All
ZSize
Zoom
Zoom
At
Point
delete
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc