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_VisMaterialTool
Class XCAFDoc_VisMaterialTool
Hierarchy
TDF_Attribute
XCAFDoc_VisMaterialTool
Index
Constructors
constructor
Methods
Add
Attribute
Add
Material_
1
Add
Material_
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
Forget
Forget
All
Attributes
Forget
Attribute
Get
Material
Get
Materials
Get
Ref
Count
Get
Shape
Material_
2
Get
Shape
Material_
3
Get
Shape
Material_
4
ID
Increment
Ref
Counter
Is
Attribute
Is
Backuped
Is
Forgotten
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Material
Is
New
Is
Set
Shape
Material_
1
Is
Set
Shape
Material_
2
Is
Valid
Label
New
Empty
Paste
References
Remove
Material
Restore
SetID_
1
SetID_
2
Set
Shape
Material_
1
Set
Shape
Material_
2
Shape
Tool
This
Transaction
Un
Set
Shape
Material_
1
Un
Set
Shape
Material_
2
Until
Transaction
delete
GetID
Get
Shape
Material_
1
Set
get_
type_
descriptor
get_
type_
name
Constructors
constructor
new XCAFDoc_
Vis
Material
Tool
(
)
:
XCAFDoc_VisMaterialTool
Returns
XCAFDoc_VisMaterialTool
Methods
Add
Attribute
Add
Attribute
(
other
:
Handle_TDF_Attribute
)
:
void
Parameters
other:
Handle_TDF_Attribute
Returns
void
Add
Material_
1
Add
Material_
1
(
theMat
:
Handle_XCAFDoc_VisMaterial
, theName
:
XCAFDoc_PartId
)
:
TDF_Label
Parameters
theMat:
Handle_XCAFDoc_VisMaterial
theName:
XCAFDoc_PartId
Returns
TDF_Label
Add
Material_
2
Add
Material_
2
(
theName
:
XCAFDoc_PartId
)
:
TDF_Label
Parameters
theName:
XCAFDoc_PartId
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
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
Material
Get
Material
(
theMatLabel
:
TDF_Label
)
:
Handle_XCAFDoc_VisMaterial
Parameters
theMatLabel:
TDF_Label
Returns
Handle_XCAFDoc_VisMaterial
Get
Materials
Get
Materials
(
Labels
:
TDF_LabelSequence
)
:
void
Parameters
Labels:
TDF_LabelSequence
Returns
void
Get
Ref
Count
Get
Ref
Count
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
Get
Shape
Material_
2
Get
Shape
Material_
2
(
theShapeLabel
:
TDF_Label
)
:
Handle_XCAFDoc_VisMaterial
Parameters
theShapeLabel:
TDF_Label
Returns
Handle_XCAFDoc_VisMaterial
Get
Shape
Material_
3
Get
Shape
Material_
3
(
theShape
:
TopoDS_Shape
, theMaterialLabel
:
TDF_Label
)
:
boolean
Parameters
theShape:
TopoDS_Shape
theMaterialLabel:
TDF_Label
Returns
boolean
Get
Shape
Material_
4
Get
Shape
Material_
4
(
theShape
:
TopoDS_Shape
)
:
Handle_XCAFDoc_VisMaterial
Parameters
theShape:
TopoDS_Shape
Returns
Handle_XCAFDoc_VisMaterial
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
Forgotten
Is
Forgotten
(
)
:
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
Material
Is
Material
(
theLabel
:
TDF_Label
)
:
boolean
Parameters
theLabel:
TDF_Label
Returns
boolean
Is
New
Is
New
(
)
:
boolean
Returns
boolean
Is
Set
Shape
Material_
1
Is
Set
Shape
Material_
1
(
theLabel
:
TDF_Label
)
:
boolean
Parameters
theLabel:
TDF_Label
Returns
boolean
Is
Set
Shape
Material_
2
Is
Set
Shape
Material_
2
(
theShape
:
TopoDS_Shape
)
:
boolean
Parameters
theShape:
TopoDS_Shape
Returns
boolean
Is
Valid
Is
Valid
(
)
:
boolean
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
Material
Remove
Material
(
theLabel
:
TDF_Label
)
:
void
Parameters
theLabel:
TDF_Label
Returns
void
Restore
Restore
(
a0
:
Handle_TDF_Attribute
)
:
void
Parameters
a0:
Handle_TDF_Attribute
Returns
void
SetID_
1
SetID_
1
(
a0
:
Standard_GUID
)
:
void
Parameters
a0:
Standard_GUID
Returns
void
SetID_
2
SetID_
2
(
)
:
void
Returns
void
Set
Shape
Material_
1
Set
Shape
Material_
1
(
theShapeLabel
:
TDF_Label
, theMaterialLabel
:
TDF_Label
)
:
void
Parameters
theShapeLabel:
TDF_Label
theMaterialLabel:
TDF_Label
Returns
void
Set
Shape
Material_
2
Set
Shape
Material_
2
(
theShape
:
TopoDS_Shape
, theMaterialLabel
:
TDF_Label
)
:
boolean
Parameters
theShape:
TopoDS_Shape
theMaterialLabel:
TDF_Label
Returns
boolean
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
Shape
Material_
1
Un
Set
Shape
Material_
1
(
theShapeLabel
:
TDF_Label
)
:
void
Parameters
theShapeLabel:
TDF_Label
Returns
void
Un
Set
Shape
Material_
2
Un
Set
Shape
Material_
2
(
theShape
:
TopoDS_Shape
)
:
boolean
Parameters
theShape:
TopoDS_Shape
Returns
boolean
Until
Transaction
Until
Transaction
(
)
:
Graphic3d_ZLayerId
Returns
Graphic3d_ZLayerId
delete
delete
(
)
:
void
Returns
void
Static
GetID
GetID
(
)
:
Standard_GUID
Returns
Standard_GUID
Static
Get
Shape
Material_
1
Get
Shape
Material_
1
(
theShapeLabel
:
TDF_Label
, theMaterialLabel
:
TDF_Label
)
:
boolean
Parameters
theShapeLabel:
TDF_Label
theMaterialLabel:
TDF_Label
Returns
boolean
Static
Set
Set
(
L
:
TDF_Label
)
:
Handle_XCAFDoc_VisMaterialTool
Parameters
L:
TDF_Label
Returns
Handle_XCAFDoc_VisMaterialTool
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_
Vis
Material
Tool
constructor
Add
Attribute
Add
Material_
1
Add
Material_
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
Forget
Forget
All
Attributes
Forget
Attribute
Get
Material
Get
Materials
Get
Ref
Count
Get
Shape
Material_
2
Get
Shape
Material_
3
Get
Shape
Material_
4
ID
Increment
Ref
Counter
Is
Attribute
Is
Backuped
Is
Forgotten
Is
Instance_
1
Is
Instance_
2
Is
Kind_
1
Is
Kind_
2
Is
Material
Is
New
Is
Set
Shape
Material_
1
Is
Set
Shape
Material_
2
Is
Valid
Label
New
Empty
Paste
References
Remove
Material
Restore
SetID_
1
SetID_
2
Set
Shape
Material_
1
Set
Shape
Material_
2
Shape
Tool
This
Transaction
Un
Set
Shape
Material_
1
Un
Set
Shape
Material_
2
Until
Transaction
delete
GetID
Get
Shape
Material_
1
Set
get_
type_
descriptor
get_
type_
name
Generated using
TypeDoc