Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
DNaming Class Reference

#include <DNaming.hxx>

Static Public Member Functions

static occ::handle< TDataStd_Real > GetReal (const occ::handle< TFunction_Function > &theFunction, const int thePosition)
static occ::handle< TDataStd_Integer > GetInteger (const occ::handle< TFunction_Function > &theFunction, const int thePosition)
static occ::handle< TDataStd_Name > GetString (const occ::handle< TFunction_Function > &theFunction, const int thePosition)
static bool ComputeAxis (const occ::handle< TNaming_NamedShape > &theNS, gp_Ax1 &theAx1)
static occ::handle< TNaming_NamedShape > GetFunctionResult (const occ::handle< TFunction_Function > &theFunction)
static occ::handle< TDataStd_UAttribute > GetObjectArg (const occ::handle< TFunction_Function > &theFunction, const int thePosition)
static void SetObjectArg (const occ::handle< TFunction_Function > &theFunction, const int thePosition, const occ::handle< TDataStd_UAttribute > &theNewValue)
static occ::handle< TNaming_NamedShape > GetObjectValue (const occ::handle< TDataStd_UAttribute > &theObject)
static occ::handle< TFunction_Function > GetLastFunction (const occ::handle< TDataStd_UAttribute > &theObject)
static occ::handle< TFunction_Function > GetFirstFunction (const occ::handle< TDataStd_UAttribute > &theObject)
static occ::handle< TFunction_Function > GetPrevFunction (const occ::handle< TFunction_Function > &theFunction)
static occ::handle< TDataStd_UAttribute > GetObjectFromFunction (const occ::handle< TFunction_Function > &theFunction)
static bool IsAttachment (const occ::handle< TDataStd_UAttribute > &theObject)
static occ::handle< TNaming_NamedShape > GetAttachmentsContext (const occ::handle< TDataStd_UAttribute > &theObject)
static bool 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 NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &SubShapesOfResult)
static void LoadAndOrientGeneratedShapes (BRepBuilderAPI_MakeShape &MakeShape, const TopoDS_Shape &ShapeIn, const TopAbs_ShapeEnum GeneratedFrom, TNaming_Builder &Builder, const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > &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 char *const ShapeEntry, const occ::handle< TDF_Data > &Data)
static void GetShape (const char *const ShapeEntry, const occ::handle< TDF_Data > &Data, NCollection_List< TopoDS_Shape > &Shapes)
static TCollection_AsciiString GetEntry (const TopoDS_Shape &Shape, const occ::handle< TDF_Data > &Data, int &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()

bool DNaming::ComputeAxis ( const occ::handle< TNaming_NamedShape > & theNS,
gp_Ax1 & theAx1 )
static

◆ ComputeSweepDir()

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

◆ CurrentShape()

TopoDS_Shape DNaming::CurrentShape ( const char *const ShapeEntry,
const occ::handle< TDF_Data > & Data )
static

◆ GetAttachmentsContext()

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

◆ GetEntry()

TCollection_AsciiString DNaming::GetEntry ( const TopoDS_Shape & Shape,
const occ::handle< TDF_Data > & Data,
int & theStatus )
static

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

◆ GetFirstFunction()

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

◆ GetFunctionResult()

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

◆ GetInteger()

occ::handle< TDataStd_Integer > DNaming::GetInteger ( const occ::handle< TFunction_Function > & theFunction,
const int thePosition )
static

◆ GetLastFunction()

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

◆ GetObjectArg()

occ::handle< TDataStd_UAttribute > DNaming::GetObjectArg ( const occ::handle< TFunction_Function > & theFunction,
const int thePosition )
static

◆ GetObjectFromFunction()

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

◆ GetObjectValue()

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

◆ GetPrevFunction()

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

◆ GetReal()

occ::handle< TDataStd_Real > DNaming::GetReal ( const occ::handle< TFunction_Function > & theFunction,
const int thePosition )
static

◆ GetShape()

void DNaming::GetShape ( const char *const ShapeEntry,
const occ::handle< TDF_Data > & Data,
NCollection_List< TopoDS_Shape > & Shapes )
static

◆ GetString()

occ::handle< TDataStd_Name > DNaming::GetString ( const occ::handle< TFunction_Function > & theFunction,
const int thePosition )
static

◆ IsAttachment()

bool DNaming::IsAttachment ( const occ::handle< TDataStd_UAttribute > & theObject)
static

◆ LoadAndOrientGeneratedShapes()

void DNaming::LoadAndOrientGeneratedShapes ( BRepBuilderAPI_MakeShape & MakeShape,
const TopoDS_Shape & ShapeIn,
const TopAbs_ShapeEnum GeneratedFrom,
TNaming_Builder & Builder,
const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & SubShapesOfResult )
static

◆ LoadAndOrientModifiedShapes()

void DNaming::LoadAndOrientModifiedShapes ( BRepBuilderAPI_MakeShape & MakeShape,
const TopoDS_Shape & ShapeIn,
const TopAbs_ShapeEnum GeneratedFrom,
TNaming_Builder & Builder,
const NCollection_DataMap< TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher > & 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 occ::handle< TFunction_Function > & theFunction,
const int thePosition,
const occ::handle< TDataStd_UAttribute > & theNewValue )
static

◆ ToolsCommands()

void DNaming::ToolsCommands ( Draw_Interpretor & DI)
static

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