Open CASCADE Technology 7.9.1
Loading...
Searching...
No Matches
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 &Builder, const TopTools_DataMapOfShapeShape &SubShapesOfResult)
static void LoadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder &Builder, const TopTools_DataMapOfShapeShape &SubShapesOfResult)
static void LoadDeletedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum KindOfDeletedShape, TNaming_Builder &Builder)
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.
static void LoadImportedShape (const TDF_Label &theResultLabel, const TopoDS_Shape &theShape)
 Loads the Shape to DF.
static void LoadPrime (const TDF_Label &theResultLabel, const TopoDS_Shape &theShape)
 Reloads sub-shapes of the Shape to DF.
static void AllCommands (Draw_Interpretor &DI)
static void BasicCommands (Draw_Interpretor &DI)
 commands relatives to NamedShape
static void ToolsCommands (Draw_Interpretor &DI)
static void SelectionCommands (Draw_Interpretor &DI)
 commands relatives to Naming
static void ModelingCommands (Draw_Interpretor &DI)
 commands for testing Naming

Member Function Documentation

◆ AllCommands()

void DNaming::AllCommands ( Draw_Interpretor & DI)
static

◆ BasicCommands()

void DNaming::BasicCommands ( Draw_Interpretor & DI)
static

commands relatives to NamedShape

◆ ComputeAxis()

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

◆ ComputeSweepDir()

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

◆ CurrentShape()

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

◆ GetAttachmentsContext()

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

◆ GetEntry()

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()

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

◆ GetFunctionResult()

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

◆ GetInteger()

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

◆ GetLastFunction()

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

◆ GetObjectArg()

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

◆ GetObjectFromFunction()

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

◆ GetObjectValue()

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

◆ GetPrevFunction()

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

◆ GetReal()

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

◆ GetShape()

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

◆ GetString()

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

◆ IsAttachment()

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

◆ LoadAndOrientGeneratedShapes()

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

◆ LoadAndOrientModifiedShapes()

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

◆ LoadDeletedShapes()

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

◆ LoadImportedShape()

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

Loads the Shape to DF.

◆ LoadPrime()

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

Reloads sub-shapes of the Shape to DF.

◆ LoadResult()

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

◆ ModelingCommands()

void DNaming::ModelingCommands ( Draw_Interpretor & DI)
static

commands for testing Naming

◆ SelectionCommands()

void DNaming::SelectionCommands ( Draw_Interpretor & DI)
static

commands relatives to Naming

◆ SetObjectArg()

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

◆ ToolsCommands()

void DNaming::ToolsCommands ( Draw_Interpretor & DI)
static

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