Open CASCADE Technology  7.2.0
Static Public Member Functions
TDF_ClosureTool Class Reference

This class provides services to build the closure of an information set. This class gives services around the transitive enclosure of a set of information, starting from a list of label. You can set closure options by using IDFilter (to select or exclude specific attribute IDs) and CopyOption objects and by giving to Closure method. More...

#include <TDF_ClosureTool.hxx>

Static Public Member Functions

static void Closure (const Handle< TDF_DataSet > &aDataSet)
 Builds the transitive closure of label and attribute sets into <aDataSet>. More...
 
static void Closure (const Handle< TDF_DataSet > &aDataSet, const TDF_IDFilter &aFilter, const TDF_ClosureMode &aMode)
 Builds the transitive closure of label and attribute sets into <aDataSet>. Uses <aFilter> to determine if an attribute has to be taken in account or not. Uses <aMode> for various way of closing. More...
 
static void Closure (const TDF_Label &aLabel, TDF_LabelMap &aLabMap, TDF_AttributeMap &anAttMap, const TDF_IDFilter &aFilter, const TDF_ClosureMode &aMode)
 Builds the transitive closure of <aLabel>. More...
 

Detailed Description

This class provides services to build the closure of an information set. This class gives services around the transitive enclosure of a set of information, starting from a list of label. You can set closure options by using IDFilter (to select or exclude specific attribute IDs) and CopyOption objects and by giving to Closure method.

Member Function Documentation

◆ Closure() [1/3]

static void TDF_ClosureTool::Closure ( const Handle< TDF_DataSet > &  aDataSet)
static

Builds the transitive closure of label and attribute sets into <aDataSet>.

◆ Closure() [2/3]

static void TDF_ClosureTool::Closure ( const Handle< TDF_DataSet > &  aDataSet,
const TDF_IDFilter aFilter,
const TDF_ClosureMode aMode 
)
static

Builds the transitive closure of label and attribute sets into <aDataSet>. Uses <aFilter> to determine if an attribute has to be taken in account or not. Uses <aMode> for various way of closing.

◆ Closure() [3/3]

static void TDF_ClosureTool::Closure ( const TDF_Label aLabel,
TDF_LabelMap aLabMap,
TDF_AttributeMap anAttMap,
const TDF_IDFilter aFilter,
const TDF_ClosureMode aMode 
)
static

Builds the transitive closure of <aLabel>.


The documentation for this class was generated from the following file: