OCC Main Page | ApplicationFramework | Toolkits | Packages | Class Hierarchy | Data Structures | File List | Data Fields | Globals

ApplicationFramework
TKLCAF
TNaming


TNaming_Builder Class Reference

A tool to create and maintain topological
attributes.
Constructor creates an empty
TNaming_NamedShape attribute at the given
label. It allows adding "old shape" and "new <br> shape" pairs with the specified evolution to this
named shape. One evolution type per one
builder must be used.
.

#include <TNaming_Builder.hxx>


Public Member Functions

void * operator new (size_t, void *anAddress)
void * operator new (size_t size)
void operator delete (void *anAddress)
Standard_EXPORT TNaming_Builder (const TDF_Label &aLabel)
 Create an Builder.
Warning: Before Addition copies the current Value, and clear
.
Standard_EXPORT void Generated (const TopoDS_Shape &newShape)
 Records the shape newShape which was
generated during a topological construction.
As an example, consider the case of a face
generated in construction of a box.
.
Standard_EXPORT void Generated (const TopoDS_Shape &oldShape, const TopoDS_Shape &newShape)
 Records the shape newShape which was
generated from the shape oldShape during a topological construction.
As an example, consider the case of a face
generated from an edge in construction of a prism.
.
Standard_EXPORT void Delete (const TopoDS_Shape &oldShape)
 Records the shape oldShape which was deleted from the current label.
As an example, consider the case of a face removed by a Boolean operation.
.
Standard_EXPORT void Modify (const TopoDS_Shape &oldShape, const TopoDS_Shape &newShape)
 Records the shape newShape which is a
modification of the shape oldShape.
As an example, consider the case of a face split
or merged in a Boolean operation.

.
Standard_EXPORT void Replace (const TopoDS_Shape &oldShape, const TopoDS_Shape &newShape)
 Records the shape newShape which is a
modification of the shape oldShape but has a
different geometry as a result of the construction operation.
As an example, consider the case of a face
resulting from construction of a draft in a box or prism.
.
Standard_EXPORT void Select (const TopoDS_Shape &aShape, const TopoDS_Shape &inShape)
 Add a Shape to the current label , This Shape is
unmodified. Used for example to define a set
of shapes under a label.
.
Standard_EXPORT Handle_TNaming_NamedShape NamedShape () const
 Returns the NamedShape which has been build or is under construction.
.

Private Attributes

TNaming_PtrDataMapOfShapePtrRefShape myMap
TNaming_PtrAttribute myAtt


Constructor & Destructor Documentation

Standard_EXPORT TNaming_Builder::TNaming_Builder const TDF_Label aLabel  ) 
 


Member Function Documentation

Standard_EXPORT void TNaming_Builder::Delete const TopoDS_Shape &  oldShape  ) 
 

Standard_EXPORT void TNaming_Builder::Generated const TopoDS_Shape &  oldShape,
const TopoDS_Shape &  newShape
 

Standard_EXPORT void TNaming_Builder::Generated const TopoDS_Shape &  newShape  ) 
 

Standard_EXPORT void TNaming_Builder::Modify const TopoDS_Shape &  oldShape,
const TopoDS_Shape &  newShape
 

Standard_EXPORT Handle_TNaming_NamedShape TNaming_Builder::NamedShape  )  const
 

void TNaming_Builder::operator delete void *  anAddress  )  [inline]
 

void* TNaming_Builder::operator new size_t  size  )  [inline]
 

void* TNaming_Builder::operator new size_t  ,
void *  anAddress
[inline]
 

Standard_EXPORT void TNaming_Builder::Replace const TopoDS_Shape &  oldShape,
const TopoDS_Shape &  newShape
 

Standard_EXPORT void TNaming_Builder::Select const TopoDS_Shape &  aShape,
const TopoDS_Shape &  inShape
 


Field Documentation

TNaming_PtrAttribute TNaming_Builder::myAtt [private]
 

TNaming_PtrDataMapOfShapePtrRefShape TNaming_Builder::myMap [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Aug 25 14:15:38 2008 for OpenCASCADE by  doxygen 1.4.1