Open CASCADE Technology 7.8.2.dev
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>.
 
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.
 
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>.
 

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: