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
XCAFDoc_ColorTool
Class XCAFDoc_ColorTool
Hierarchy
TDataStd_GenericEmpty
XCAFDoc_ColorTool
Index
Constructors
constructor
Methods
Add
Attribute
Add
Color_
1
Add
Color_
2
After
Addition
After
Resume
After
Retrieval
After
Undo
Backup
Copy
Backup_
1
Base
Label
Before
Commit
Transaction
Before
Forget
Before
Removal
Before
Undo
Decrement
Ref
Counter
Delete
Delta
On
Addition
Delta
On
Forget
Delta
On
Modification_
1
Delta
On
Modification_
2
Delta
On
Removal
Delta
On
Resume
Dump
Json
Dynamic
Type
Extended
Dump
Find
Attribute_
1
Find
Color_
1
Find
Color_
2
Find
Color_
3
Find
Color_
4
Forget
Forget
All
Attributes
Forget
Attribute
Get
Color_
1
Get
Color_
2
Get
Color_
4
Get
Color_
5
Get
Color_
6
Get
Color_
7
Get
Color_
8
Get
Colors
Get
Instance
Color_
1
Get
Instance
Color_
2
Get
Ref
Count
ID
Increment
Ref
Counter
Is
Attribute
Is
Backuped
Is
Color
Is
Color
By
Layer
Is
Forgotten
Is
Instance
Visible
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
New
Is
Set_
1
Is
Set_
2
Is
Valid
Is
Visible
Label
New
Empty
Paste
References
Remove
Color
Restore
Reverse
Chains
Of
Tree
Nodes
Set
Color
By
Layer
Set
Color_
1
Set
Color_
2
Set
Color_
3
Set
Color_
4
Set
Color_
5
Set
Color_
6
SetID_
1
SetID_
2
Set
Instance
Color_
1
Set
Instance
Color_
2
Set
Visibility
Shape
Tool
This
Transaction
Un
Set
Color_
1
Un
Set
Color_
2
Until
Transaction
delete
Auto
Naming
Get
Color_
3
GetID
Set
Set
Auto
Naming
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new XCAFDoc_
Color
Tool
(
)
:
XCAFDoc_ColorTool
Returns
XCAFDoc_ColorTool
Methods
Add
Attribute
Add
Attribute
(
other
:
Handle_TDF_Attribute
)
:
void
Parameters
other:
Handle_TDF_Attribute
Returns
void
Add
Color_
1
Add
Color_
1
(
col
:
Quantity_Color
)
:
TDF_Label
Parameters
col:
Quantity_Color
Returns
TDF_Label
Add
Color_
2
Add
Color_
2
(
col
:
Quantity_ColorRGBA
)
:
TDF_Label
Parameters
col:
Quantity_ColorRGBA
Returns
TDF_Label
After
Addition
After
Addition
(
)
:
void
Returns
void
After
Resume
After
Resume
(
)
:
void
Returns
void
After
Retrieval
After
Retrieval
(
forceIt
:
boolean
)
:
boolean
Parameters
forceIt:
boolean
Returns
boolean
After
Undo
After
Undo
(
anAttDelta
:
Handle_TDF_AttributeDelta
, forceIt
:
boolean
)
:
boolean
Parameters
anAttDelta:
Handle_TDF_AttributeDelta
forceIt:
boolean
Returns
boolean
Backup
Copy
Backup
Copy
(
)
:
Handle_TDF_Attribute
Returns
Handle_TDF_Attribute
Backup_
1
Backup_
1
(
)
:
void
Returns
void
Base
Label
Base
Label
(
)
:
TDF_Label
Returns
TDF_Label
Before
Commit
Transaction
Before
Commit
Transaction
(
)
:
void
Returns
void
Before
Forget
Before
Forget
(
)
:
void
Returns
void
Before
Removal
Before
Removal
(
)
:
void
Returns
void
Before
Undo
Before
Undo
(
anAttDelta
:
Handle_TDF_AttributeDelta
, forceIt
:
boolean
)
:
boolean
Parameters
anAttDelta:
Handle_TDF_AttributeDelta
forceIt:
boolean
Returns
boolean
Decrement
Ref
Counter
Decrement
Ref
Counter
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Delete
Delete
(
)
:
void
Returns
void
Delta
On
Addition
Delta
On
Addition
(
)
:
Handle_TDF_DeltaOnAddition
Returns
Handle_TDF_DeltaOnAddition
Delta
On
Forget
Delta
On
Forget
(
)
:
Handle_TDF_DeltaOnForget
Returns
Handle_TDF_DeltaOnForget
Delta
On
Modification_
1
Delta
On
Modification_
1
(
anOldAttribute
:
Handle_TDF_Attribute
)
:
Handle_TDF_DeltaOnModification
Parameters
anOldAttribute:
Handle_TDF_Attribute
Returns
Handle_TDF_DeltaOnModification
Delta
On
Modification_
2
Delta
On
Modification_
2
(
aDelta
:
Handle_TDF_DeltaOnModification
)
:
void
Parameters
aDelta:
Handle_TDF_DeltaOnModification
Returns
void
Delta
On
Removal
Delta
On
Removal
(
)
:
Handle_TDF_DeltaOnRemoval
Returns
Handle_TDF_DeltaOnRemoval
Delta
On
Resume
Delta
On
Resume
(
)
:
Handle_TDF_DeltaOnResume
Returns
Handle_TDF_DeltaOnResume
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
Extended
Dump
Extended
Dump
(
anOS
:
Standard_OStream
, aFilter
:
TDF_IDFilter
, aMap
:
TDF_AttributeIndexedMap
)
:
void
Parameters
anOS:
Standard_OStream
aFilter:
TDF_IDFilter
aMap:
TDF_AttributeIndexedMap
Returns
void
Find
Attribute_
1
Find
Attribute_
1
(
anID
:
Standard_GUID
, anAttribute
:
Handle_TDF_Attribute
)
:
boolean
Parameters
anID:
Standard_GUID
anAttribute:
Handle_TDF_Attribute
Returns
boolean
Find
Color_
1
Find
Color_
1
(
col
:
Quantity_Color
, lab
:
TDF_Label
)
:
boolean
Parameters
col:
Quantity_Color
lab:
TDF_Label
Returns
boolean
Find
Color_
2
Find
Color_
2
(
col
:
Quantity_ColorRGBA
, lab
:
TDF_Label
)
:
boolean
Parameters
col:
Quantity_ColorRGBA
lab:
TDF_Label
Returns
boolean
Find
Color_
3
Find
Color_
3
(
col
:
Quantity_Color
)
:
TDF_Label
Parameters
col:
Quantity_Color
Returns
TDF_Label
Find
Color_
4
Find
Color_
4
(
col
:
Quantity_ColorRGBA
)
:
TDF_Label
Parameters
col:
Quantity_ColorRGBA
Returns
TDF_Label
Forget
Forget
(
aTransaction
:
Graphic3d_ZLayerId
)
:
void
Parameters
aTransaction:
Graphic3d_ZLayerId
Returns
void
Forget
All
Attributes
Forget
All
Attributes
(
clearChildren
:
boolean
)
:
void
Parameters
clearChildren:
boolean
Returns
void
Forget
Attribute
Forget
Attribute
(
aguid
:
Standard_GUID
)
:
boolean
Parameters
aguid:
Standard_GUID
Returns
boolean
Get
Color_
1
Get
Color_
1
(
lab
:
TDF_Label
, col
:
Quantity_Color
)
:
boolean
Parameters
lab:
TDF_Label
col:
Quantity_Color
Returns
boolean
Get
Color_
2
Get
Color_
2
(
lab
:
TDF_Label
, col
:
Quantity_ColorRGBA
)
:
boolean
Parameters
lab:
TDF_Label
col:
Quantity_ColorRGBA
Returns
boolean
Get
Color_
4
Get
Color_
4
(
L
:
TDF_Label
, type
:
XCAFDoc_ColorType
, color
:
Quantity_Color
)
:
boolean
Parameters
L:
TDF_Label
type:
XCAFDoc_ColorType
color:
Quantity_Color
Returns
boolean
Get
Color_
5
Get
Color_
5
(
L
:
TDF_Label
, type
:
XCAFDoc_ColorType
, color
:
Quantity_ColorRGBA
)
:
boolean
Parameters
L:
TDF_Label
type:
XCAFDoc_ColorType
color:
Quantity_ColorRGBA
Returns
boolean
Get
Color_
6
Get
Color_
6
(
S
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, colorL
:
TDF_Label
)
:
boolean
Parameters
S:
TopoDS_Shape
type:
XCAFDoc_ColorType
colorL:
TDF_Label
Returns
boolean
Get
Color_
7
Get
Color_
7
(
S
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_Color
)
:
boolean
Parameters
S:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_Color
Returns
boolean
Get
Color_
8
Get
Color_
8
(
S
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_ColorRGBA
)
:
boolean
Parameters
S:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_ColorRGBA
Returns
boolean
Get
Colors
Get
Colors
(
Labels
:
TDF_LabelSequence
)
:
void
Parameters
Labels:
TDF_LabelSequence
Returns
void
Get
Instance
Color_
1
Get
Instance
Color_
1
(
theShape
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_Color
)
:
boolean
Parameters
theShape:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_Color
Returns
boolean
Get
Instance
Color_
2
Get
Instance
Color_
2
(
theShape
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_ColorRGBA
)
:
boolean
Parameters
theShape:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_ColorRGBA
Returns
boolean
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
ID
ID
(
)
:
Standard_GUID
Returns
Standard_GUID
Increment
Ref
Counter
Increment
Ref
Counter
(
)
:
void
Returns
void
Is
Attribute
Is
Attribute
(
anID
:
Standard_GUID
)
:
boolean
Parameters
anID:
Standard_GUID
Returns
boolean
Is
Backuped
Is
Backuped
(
)
:
boolean
Returns
boolean
Is
Color
Is
Color
(
lab
:
TDF_Label
)
:
boolean
Parameters
lab:
TDF_Label
Returns
boolean
Is
Color
By
Layer
Is
Color
By
Layer
(
L
:
TDF_Label
)
:
boolean
Parameters
L:
TDF_Label
Returns
boolean
Is
Forgotten
Is
Forgotten
(
)
:
boolean
Returns
boolean
Is
Instance
Visible
Is
Instance
Visible
(
theShape
:
TopoDS_Shape
)
:
boolean
Parameters
theShape:
TopoDS_Shape
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
New
Is
New
(
)
:
boolean
Returns
boolean
Is
Set_
1
Is
Set_
1
(
L
:
TDF_Label
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
L:
TDF_Label
type:
XCAFDoc_ColorType
Returns
boolean
Is
Set_
2
Is
Set_
2
(
S
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
S:
TopoDS_Shape
type:
XCAFDoc_ColorType
Returns
boolean
Is
Valid
Is
Valid
(
)
:
boolean
Returns
boolean
Is
Visible
Is
Visible
(
L
:
TDF_Label
)
:
boolean
Parameters
L:
TDF_Label
Returns
boolean
Label
Label
(
)
:
TDF_Label
Returns
TDF_Label
New
Empty
New
Empty
(
)
:
Handle_TDF_Attribute
Returns
Handle_TDF_Attribute
Paste
Paste
(
a0
:
Handle_TDF_Attribute
, a1
:
Handle_TDF_RelocationTable
)
:
void
Parameters
a0:
Handle_TDF_Attribute
a1:
Handle_TDF_RelocationTable
Returns
void
References
References
(
aDataSet
:
Handle_TDF_DataSet
)
:
void
Parameters
aDataSet:
Handle_TDF_DataSet
Returns
void
Remove
Color
Remove
Color
(
lab
:
TDF_Label
)
:
void
Parameters
lab:
TDF_Label
Returns
void
Restore
Restore
(
a0
:
Handle_TDF_Attribute
)
:
void
Parameters
a0:
Handle_TDF_Attribute
Returns
void
Reverse
Chains
Of
Tree
Nodes
Reverse
Chains
Of
Tree
Nodes
(
)
:
boolean
Returns
boolean
Set
Color
By
Layer
Set
Color
By
Layer
(
shapeLabel
:
TDF_Label
, isColorByLayer
:
boolean
)
:
void
Parameters
shapeLabel:
TDF_Label
isColorByLayer:
boolean
Returns
void
Set
Color_
1
Set
Color_
1
(
L
:
TDF_Label
, colorL
:
TDF_Label
, type
:
XCAFDoc_ColorType
)
:
void
Parameters
L:
TDF_Label
colorL:
TDF_Label
type:
XCAFDoc_ColorType
Returns
void
Set
Color_
2
Set
Color_
2
(
L
:
TDF_Label
, Color
:
Quantity_Color
, type
:
XCAFDoc_ColorType
)
:
void
Parameters
L:
TDF_Label
Color:
Quantity_Color
type:
XCAFDoc_ColorType
Returns
void
Set
Color_
3
Set
Color_
3
(
L
:
TDF_Label
, Color
:
Quantity_ColorRGBA
, type
:
XCAFDoc_ColorType
)
:
void
Parameters
L:
TDF_Label
Color:
Quantity_ColorRGBA
type:
XCAFDoc_ColorType
Returns
void
Set
Color_
4
Set
Color_
4
(
S
:
TopoDS_Shape
, colorL
:
TDF_Label
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
S:
TopoDS_Shape
colorL:
TDF_Label
type:
XCAFDoc_ColorType
Returns
boolean
Set
Color_
5
Set
Color_
5
(
S
:
TopoDS_Shape
, Color
:
Quantity_Color
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
S:
TopoDS_Shape
Color:
Quantity_Color
type:
XCAFDoc_ColorType
Returns
boolean
Set
Color_
6
Set
Color_
6
(
S
:
TopoDS_Shape
, Color
:
Quantity_ColorRGBA
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
S:
TopoDS_Shape
Color:
Quantity_ColorRGBA
type:
XCAFDoc_ColorType
Returns
boolean
SetID_
1
SetID_
1
(
a0
:
Standard_GUID
)
:
void
Parameters
a0:
Standard_GUID
Returns
void
SetID_
2
SetID_
2
(
)
:
void
Returns
void
Set
Instance
Color_
1
Set
Instance
Color_
1
(
theShape
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_Color
, isCreateSHUO
:
boolean
)
:
boolean
Parameters
theShape:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_Color
isCreateSHUO:
boolean
Returns
boolean
Set
Instance
Color_
2
Set
Instance
Color_
2
(
theShape
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
, color
:
Quantity_ColorRGBA
, isCreateSHUO
:
boolean
)
:
boolean
Parameters
theShape:
TopoDS_Shape
type:
XCAFDoc_ColorType
color:
Quantity_ColorRGBA
isCreateSHUO:
boolean
Returns
boolean
Set
Visibility
Set
Visibility
(
shapeLabel
:
TDF_Label
, isvisible
:
boolean
)
:
void
Parameters
shapeLabel:
TDF_Label
isvisible:
boolean
Returns
void
Shape
Tool
Shape
Tool
(
)
:
Handle_XCAFDoc_ShapeTool
Returns
Handle_XCAFDoc_ShapeTool
This
This
(
)
:
Standard_Transient
Returns
Standard_Transient
Transaction
Transaction
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Un
Set
Color_
1
Un
Set
Color_
1
(
L
:
TDF_Label
, type
:
XCAFDoc_ColorType
)
:
void
Parameters
L:
TDF_Label
type:
XCAFDoc_ColorType
Returns
void
Un
Set
Color_
2
Un
Set
Color_
2
(
S
:
TopoDS_Shape
, type
:
XCAFDoc_ColorType
)
:
boolean
Parameters
S:
TopoDS_Shape
type:
XCAFDoc_ColorType
Returns
boolean
Until
Transaction
Until
Transaction
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
delete
delete
(
)
:
void
Returns
void
Static
Auto
Naming
Auto
Naming
(
)
:
boolean
Returns
boolean
Static
Get
Color_
3
Get
Color_
3
(
L
:
TDF_Label
, type
:
XCAFDoc_ColorType
, colorL
:
TDF_Label
)
:
boolean
Parameters
L:
TDF_Label
type:
XCAFDoc_ColorType
colorL:
TDF_Label
Returns
boolean
Static
GetID
GetID
(
)
:
Standard_GUID
Returns
Standard_GUID
Static
Set
Set
(
L
:
TDF_Label
)
:
Handle_XCAFDoc_ColorTool
Parameters
L:
TDF_Label
Returns
Handle_XCAFDoc_ColorTool
Static
Set
Auto
Naming
Set
Auto
Naming
(
theIsAutoNaming
:
boolean
)
:
void
Parameters
theIsAutoNaming:
boolean
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
XCAFDoc_
Color
Tool
constructor
Add
Attribute
Add
Color_
1
Add
Color_
2
After
Addition
After
Resume
After
Retrieval
After
Undo
Backup
Copy
Backup_
1
Base
Label
Before
Commit
Transaction
Before
Forget
Before
Removal
Before
Undo
Decrement
Ref
Counter
Delete
Delta
On
Addition
Delta
On
Forget
Delta
On
Modification_
1
Delta
On
Modification_
2
Delta
On
Removal
Delta
On
Resume
Dump
Json
Dynamic
Type
Extended
Dump
Find
Attribute_
1
Find
Color_
1
Find
Color_
2
Find
Color_
3
Find
Color_
4
Forget
Forget
All
Attributes
Forget
Attribute
Get
Color_
1
Get
Color_
2
Get
Color_
4
Get
Color_
5
Get
Color_
6
Get
Color_
7
Get
Color_
8
Get
Colors
Get
Instance
Color_
1
Get
Instance
Color_
2
Get
Ref
Count
ID
Increment
Ref
Counter
Is
Attribute
Is
Backuped
Is
Color
Is
Color
By
Layer
Is
Forgotten
Is
Instance
Visible
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
New
Is
Set_
1
Is
Set_
2
Is
Valid
Is
Visible
Label
New
Empty
Paste
References
Remove
Color
Restore
Reverse
Chains
Of
Tree
Nodes
Set
Color
By
Layer
Set
Color_
1
Set
Color_
2
Set
Color_
3
Set
Color_
4
Set
Color_
5
Set
Color_
6
SetID_
1
SetID_
2
Set
Instance
Color_
1
Set
Instance
Color_
2
Set
Visibility
Shape
Tool
This
Transaction
Un
Set
Color_
1
Un
Set
Color_
2
Until
Transaction
delete
Auto
Naming
Get
Color_
3
GetID
Set
Set
Auto
Naming
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc