Open CASCADE Technology  7.2.0
Static Public Member Functions

DNaming Class Reference

#include <DNaming.hxx>

Static Public Member Functions

static Handle< TDataStd_RealGetReal (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Handle< TDataStd_IntegerGetInteger (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Handle< TDataStd_NameGetString (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Standard_Boolean ComputeAxis (const Handle< TNaming_NamedShape > &theNS, gp_Ax1 &theAx1)
 
static Handle< TNaming_NamedShapeGetFunctionResult (const Handle< TFunction_Function > &theFunction)
 
static Handle< TDataStd_UAttributeGetObjectArg (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static void SetObjectArg (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition, const Handle< TDataStd_UAttribute > &theNewValue)
 
static Handle< TNaming_NamedShapeGetObjectValue (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle< TFunction_FunctionGetLastFunction (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle< TFunction_FunctionGetFirstFunction (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle< TFunction_FunctionGetPrevFunction (const Handle< TFunction_Function > &theFunction)
 
static Handle< TDataStd_UAttributeGetObjectFromFunction (const Handle< TFunction_Function > &theFunction)
 
static Standard_Boolean IsAttachment (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle< TNaming_NamedShapeGetAttachmentsContext (const Handle< TDataStd_UAttribute > &theObject)
 
static Standard_Boolean ComputeSweepDir (const TopoDS_Shape &theShape, gp_Ax1 &theAxis)
 
static void LoadAndOrientModifiedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder &Buider, const TopTools_DataMapOfShapeShape &SubShapesOfResult)
 
static void LoadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder &Buider, const TopTools_DataMapOfShapeShape &SubShapesOfResult)
 
static void LoadDeletedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum KindOfDeletedShape, TNaming_Builder &Buider)
 
static void LoadResult (const TDF_Label &theLabel, BRepAlgoAPI_BooleanOperation &MS)
 
static TopoDS_Shape CurrentShape (const Standard_CString ShapeEntry, const Handle< TDF_Data > &Data)
 
static void GetShape (const Standard_CString ShapeEntry, const Handle< TDF_Data > &Data, TopTools_ListOfShape &Shapes)
 
static TCollection_AsciiString GetEntry (const TopoDS_Shape &Shape, const Handle< TDF_Data > &Data, Standard_Integer &theStatus)
 theStatus = 0 Not found, theStatus = 1 One shape, theStatus = 2 More than one shape. More...
 
static void LoadImportedShape (const TDF_Label &theResultLabel, const TopoDS_Shape &theShape)
 Loads the Shape to DF. More...
 
static void LoadPrime (const TDF_Label &theResultLabel, const TopoDS_Shape &theShape)
 Reloads sub-shapes of the Shape to DF. More...
 
static void AllCommands (Draw_Interpretor &DI)
 
static void BasicCommands (Draw_Interpretor &DI)
 commands relatives to NamedShape More...
 
static void ToolsCommands (Draw_Interpretor &DI)
 
static void SelectionCommands (Draw_Interpretor &DI)
 commands relatives to Naming More...
 
static void ModelingCommands (Draw_Interpretor &DI)
 commands for testing Naming More...
 

Member Function Documentation

◆ AllCommands()

static void DNaming::AllCommands ( Draw_Interpretor DI)
static

◆ BasicCommands()

static void DNaming::BasicCommands ( Draw_Interpretor DI)
static

commands relatives to NamedShape

◆ ComputeAxis()

static Standard_Boolean DNaming::ComputeAxis ( const Handle< TNaming_NamedShape > &  theNS,
gp_Ax1 theAx1 
)
static

◆ ComputeSweepDir()

static Standard_Boolean DNaming::ComputeSweepDir ( const TopoDS_Shape theShape,
gp_Ax1 theAxis 
)
static

◆ CurrentShape()

static TopoDS_Shape DNaming::CurrentShape ( const Standard_CString  ShapeEntry,
const Handle< TDF_Data > &  Data 
)
static

◆ GetAttachmentsContext()

static Handle< TNaming_NamedShape > DNaming::GetAttachmentsContext ( const Handle< TDataStd_UAttribute > &  theObject)
static

◆ GetEntry()

static TCollection_AsciiString DNaming::GetEntry ( const TopoDS_Shape Shape,
const Handle< TDF_Data > &  Data,
Standard_Integer theStatus 
)
static

theStatus = 0 Not found, theStatus = 1 One shape, theStatus = 2 More than one shape.

◆ GetFirstFunction()

static Handle< TFunction_Function > DNaming::GetFirstFunction ( const Handle< TDataStd_UAttribute > &  theObject)
static

◆ GetFunctionResult()

static Handle< TNaming_NamedShape > DNaming::GetFunctionResult ( const Handle< TFunction_Function > &  theFunction)
static

◆ GetInteger()

static Handle< TDataStd_Integer > DNaming::GetInteger ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static

◆ GetLastFunction()

static Handle< TFunction_Function > DNaming::GetLastFunction ( const Handle< TDataStd_UAttribute > &  theObject)
static

◆ GetObjectArg()

static Handle< TDataStd_UAttribute > DNaming::GetObjectArg ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static

◆ GetObjectFromFunction()

static Handle< TDataStd_UAttribute > DNaming::GetObjectFromFunction ( const Handle< TFunction_Function > &  theFunction)
static

◆ GetObjectValue()

static Handle< TNaming_NamedShape > DNaming::GetObjectValue ( const Handle< TDataStd_UAttribute > &  theObject)
static

◆ GetPrevFunction()

static Handle< TFunction_Function > DNaming::GetPrevFunction ( const Handle< TFunction_Function > &  theFunction)
static

◆ GetReal()

static Handle< TDataStd_Real > DNaming::GetReal ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static

◆ GetShape()

static void DNaming::GetShape ( const Standard_CString  ShapeEntry,
const Handle< TDF_Data > &  Data,
TopTools_ListOfShape Shapes 
)
static

◆ GetString()

static Handle< TDataStd_Name > DNaming::GetString ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static

◆ IsAttachment()

static Standard_Boolean DNaming::IsAttachment ( const Handle< TDataStd_UAttribute > &  theObject)
static

◆ LoadAndOrientGeneratedShapes()

static void DNaming::LoadAndOrientGeneratedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  GeneratedFrom,
TNaming_Builder Buider,
const TopTools_DataMapOfShapeShape SubShapesOfResult 
)
static

◆ LoadAndOrientModifiedShapes()

static void DNaming::LoadAndOrientModifiedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  GeneratedFrom,
TNaming_Builder Buider,
const TopTools_DataMapOfShapeShape SubShapesOfResult 
)
static

◆ LoadDeletedShapes()

static void DNaming::LoadDeletedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  KindOfDeletedShape,
TNaming_Builder Buider 
)
static

◆ LoadImportedShape()

static void DNaming::LoadImportedShape ( const TDF_Label theResultLabel,
const TopoDS_Shape theShape 
)
static

Loads the Shape to DF.

◆ LoadPrime()

static void DNaming::LoadPrime ( const TDF_Label theResultLabel,
const TopoDS_Shape theShape 
)
static

Reloads sub-shapes of the Shape to DF.

◆ LoadResult()

static void DNaming::LoadResult ( const TDF_Label theLabel,
BRepAlgoAPI_BooleanOperation MS 
)
static

◆ ModelingCommands()

static void DNaming::ModelingCommands ( Draw_Interpretor DI)
static

commands for testing Naming

◆ SelectionCommands()

static void DNaming::SelectionCommands ( Draw_Interpretor DI)
static

commands relatives to Naming

◆ SetObjectArg()

static void DNaming::SetObjectArg ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition,
const Handle< TDataStd_UAttribute > &  theNewValue 
)
static

◆ ToolsCommands()

static void DNaming::ToolsCommands ( Draw_Interpretor DI)
static

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