Open CASCADE Technology 6.6.0
|
provides methods to transfer BRep entity from CASCADE to IGES.
#include <BRepToIGES_BREntity.hxx>
Public Member Functions | |
BRepToIGES_BREntity () | |
Creates a tool BREntity | |
void | Init () |
Initializes the field of the tool BREntity with default creating values. | |
void | SetModel (const Handle< IGESData_IGESModel > &model) |
Set the value of "TheModel" | |
Handle_IGESData_IGESModel | GetModel () const |
Returns the value of "TheModel" | |
Standard_Real | GetUnit () const |
Returns the value of the UnitFlag of the header of the model in meters. | |
void | SetTransferProcess (const Handle< Transfer_FinderProcess > &TP) |
Set the value of "TheMap" | |
Handle_Transfer_FinderProcess | GetTransferProcess () const |
Returns the value of "TheMap" | |
virtual Handle_IGESData_IGESEntity | TransferShape (const TopoDS_Shape &start) |
Returns the result of the transfert of any Shape If the transfer has failed, this member return a NullEntity. | |
void | AddFail (const TopoDS_Shape &start, const Standard_CString amess) |
Records a new Fail message | |
void | AddWarning (const TopoDS_Shape &start, const Standard_CString amess) |
Records a new Warning message | |
void | AddFail (const Handle< Standard_Transient > &start, const Standard_CString amess) |
Records a new Fail message | |
void | AddWarning (const Handle< Standard_Transient > &start, const Standard_CString amess) |
Records a new Warning message | |
Standard_Boolean | HasShapeResult (const TopoDS_Shape &start) const |
Returns True if start was already treated and has a result in "TheMap" else returns False. | |
Handle_Standard_Transient | GetShapeResult (const TopoDS_Shape &start) const |
Returns the result of the transfer of the Shape "start" contained in "TheMap" . (if HasShapeResult is True). | |
void | SetShapeResult (const TopoDS_Shape &start, const Handle< Standard_Transient > &result) |
set in "TheMap" the result of the transfer of the Shape "start". | |
Standard_Boolean | HasShapeResult (const Handle< Standard_Transient > &start) const |
Returns True if start was already treated and has a result in "TheMap" else returns False. | |
Handle_Standard_Transient | GetShapeResult (const Handle< Standard_Transient > &start) const |
Returns the result of the transfer of the Transient "start" contained in "TheMap" . (if HasShapeResult is True). | |
void | SetShapeResult (const Handle< Standard_Transient > &start, const Handle< Standard_Transient > &result) |
set in "TheMap" the result of the transfer of the Transient "start". | |
Standard_Boolean | GetConvertSurfaceMode () const |
Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode) | |
Standard_Boolean | GetPCurveMode () const |
Returns mode for writing pcurves (value of parameter write.surfacecurve.mode) | |
virtual void | Delete () |
virtual | ~BRepToIGES_BREntity () |
BRepToIGES_BREntity::BRepToIGES_BREntity | ( | ) |
virtual BRepToIGES_BREntity::~BRepToIGES_BREntity | ( | ) | [inline, virtual] |
void BRepToIGES_BREntity::AddFail | ( | const TopoDS_Shape & | start, |
const Standard_CString | amess | ||
) |
void BRepToIGES_BREntity::AddFail | ( | const Handle< Standard_Transient > & | start, |
const Standard_CString | amess | ||
) |
void BRepToIGES_BREntity::AddWarning | ( | const TopoDS_Shape & | start, |
const Standard_CString | amess | ||
) |
void BRepToIGES_BREntity::AddWarning | ( | const Handle< Standard_Transient > & | start, |
const Standard_CString | amess | ||
) |
virtual void BRepToIGES_BREntity::Delete | ( | ) | [virtual] |
Standard_Boolean BRepToIGES_BREntity::GetConvertSurfaceMode | ( | ) | const |
Handle_IGESData_IGESModel BRepToIGES_BREntity::GetModel | ( | ) | const |
Standard_Boolean BRepToIGES_BREntity::GetPCurveMode | ( | ) | const |
Handle_Standard_Transient BRepToIGES_BREntity::GetShapeResult | ( | const Handle< Standard_Transient > & | start | ) | const |
Handle_Standard_Transient BRepToIGES_BREntity::GetShapeResult | ( | const TopoDS_Shape & | start | ) | const |
Handle_Transfer_FinderProcess BRepToIGES_BREntity::GetTransferProcess | ( | ) | const |
Standard_Real BRepToIGES_BREntity::GetUnit | ( | ) | const |
Standard_Boolean BRepToIGES_BREntity::HasShapeResult | ( | const TopoDS_Shape & | start | ) | const |
Standard_Boolean BRepToIGES_BREntity::HasShapeResult | ( | const Handle< Standard_Transient > & | start | ) | const |
void BRepToIGES_BREntity::Init | ( | ) |
void BRepToIGES_BREntity::SetModel | ( | const Handle< IGESData_IGESModel > & | model | ) |
void BRepToIGES_BREntity::SetShapeResult | ( | const TopoDS_Shape & | start, |
const Handle< Standard_Transient > & | result | ||
) |
void BRepToIGES_BREntity::SetShapeResult | ( | const Handle< Standard_Transient > & | start, |
const Handle< Standard_Transient > & | result | ||
) |
void BRepToIGES_BREntity::SetTransferProcess | ( | const Handle< Transfer_FinderProcess > & | TP | ) |
virtual Handle_IGESData_IGESEntity BRepToIGES_BREntity::TransferShape | ( | const TopoDS_Shape & | start | ) | [virtual] |
Reimplemented in BRepToIGESBRep_Entity.