Open CASCADE Technology  6.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions
DNaming Class Reference

#include <DNaming.hxx>

Static Public Member Functions

static Handle_TDataStd_Real GetReal (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Handle_TDataStd_Integer GetInteger (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Handle_TDataStd_Name GetString (const Handle< TFunction_Function > &theFunction, const Standard_Integer thePosition)
 
static Standard_Boolean ComputeAxis (const Handle< TNaming_NamedShape > &theNS, gp_Ax1 &theAx1)
 
static Handle_TNaming_NamedShape GetFunctionResult (const Handle< TFunction_Function > &theFunction)
 
static Handle_TDataStd_UAttribute GetObjectArg (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_NamedShape GetObjectValue (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle_TFunction_Function GetLastFunction (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle_TFunction_Function GetFirstFunction (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle_TFunction_Function GetPrevFunction (const Handle< TFunction_Function > &theFunction)
 
static Handle_TDataStd_UAttribute GetObjectFromFunction (const Handle< TFunction_Function > &theFunction)
 
static Standard_Boolean IsAttachment (const Handle< TDataStd_UAttribute > &theObject)
 
static Handle_TNaming_NamedShape GetAttachmentsContext (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 &Status)
 Status = 0 Not found,
Status = 1 One shape,
Status = 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

static void DNaming::AllCommands ( Draw_Interpretor DI)
static
static void DNaming::BasicCommands ( Draw_Interpretor DI)
static

commands relatives to NamedShape

static Standard_Boolean DNaming::ComputeAxis ( const Handle< TNaming_NamedShape > &  theNS,
gp_Ax1 theAx1 
)
static
static Standard_Boolean DNaming::ComputeSweepDir ( const TopoDS_Shape theShape,
gp_Ax1 theAxis 
)
static
static TopoDS_Shape DNaming::CurrentShape ( const Standard_CString  ShapeEntry,
const Handle< TDF_Data > &  Data 
)
static
static Handle_TNaming_NamedShape DNaming::GetAttachmentsContext ( const Handle< TDataStd_UAttribute > &  theObject)
static
static TCollection_AsciiString DNaming::GetEntry ( const TopoDS_Shape Shape,
const Handle< TDF_Data > &  Data,
Standard_Integer Status 
)
static

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

static Handle_TFunction_Function DNaming::GetFirstFunction ( const Handle< TDataStd_UAttribute > &  theObject)
static
static Handle_TNaming_NamedShape DNaming::GetFunctionResult ( const Handle< TFunction_Function > &  theFunction)
static
static Handle_TDataStd_Integer DNaming::GetInteger ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static
static Handle_TFunction_Function DNaming::GetLastFunction ( const Handle< TDataStd_UAttribute > &  theObject)
static
static Handle_TDataStd_UAttribute DNaming::GetObjectArg ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static
static Handle_TDataStd_UAttribute DNaming::GetObjectFromFunction ( const Handle< TFunction_Function > &  theFunction)
static
static Handle_TNaming_NamedShape DNaming::GetObjectValue ( const Handle< TDataStd_UAttribute > &  theObject)
static
static Handle_TFunction_Function DNaming::GetPrevFunction ( const Handle< TFunction_Function > &  theFunction)
static
static Handle_TDataStd_Real DNaming::GetReal ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static
static void DNaming::GetShape ( const Standard_CString  ShapeEntry,
const Handle< TDF_Data > &  Data,
TopTools_ListOfShape Shapes 
)
static
static Handle_TDataStd_Name DNaming::GetString ( const Handle< TFunction_Function > &  theFunction,
const Standard_Integer  thePosition 
)
static
static Standard_Boolean DNaming::IsAttachment ( const Handle< TDataStd_UAttribute > &  theObject)
static
static void DNaming::LoadAndOrientGeneratedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  GeneratedFrom,
TNaming_Builder Buider,
const TopTools_DataMapOfShapeShape SubShapesOfResult 
)
static
static void DNaming::LoadAndOrientModifiedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  GeneratedFrom,
TNaming_Builder Buider,
const TopTools_DataMapOfShapeShape SubShapesOfResult 
)
static
static void DNaming::LoadDeletedShapes ( BRepBuilderAPI_MakeShape MakeShape,
const TopoDS_Shape ShapeIn,
const TopAbs_ShapeEnum  KindOfDeletedShape,
TNaming_Builder Buider 
)
static
static void DNaming::LoadImportedShape ( const TDF_Label theResultLabel,
const TopoDS_Shape theShape 
)
static

Loads the Shape to DF

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

Reloads sub-shapes of the Shape to DF

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

commands for testing Naming

static void DNaming::SelectionCommands ( Draw_Interpretor DI)
static

commands relatives to Naming

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

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