Open CASCADE Technology  7.1.0.beta
Public Member Functions

BRepToIGES_BREntity Class Reference

provides methods to transfer BRep entity from CASCADE to IGES. More...

#include <BRepToIGES_BREntity.hxx>

Inheritance diagram for BRepToIGES_BREntity:
Inheritance graph
[legend]

Public Member Functions

 BRepToIGES_BREntity ()
 Creates a tool BREntity. More...
 
void Init ()
 Initializes the field of the tool BREntity with default creating values. More...
 
void SetModel (const Handle< IGESData_IGESModel > &model)
 Set the value of "TheModel". More...
 
Handle< IGESData_IGESModelGetModel () const
 Returns the value of "TheModel". More...
 
Standard_Real GetUnit () const
 Returns the value of the UnitFlag of the header of the model in meters. More...
 
void SetTransferProcess (const Handle< Transfer_FinderProcess > &TP)
 Set the value of "TheMap". More...
 
Handle< Transfer_FinderProcessGetTransferProcess () const
 Returns the value of "TheMap". More...
 
virtual Handle< IGESData_IGESEntityTransferShape (const TopoDS_Shape &start)
 Returns the result of the transfert of any Shape If the transfer has failed, this member return a NullEntity. More...
 
void AddFail (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Fail message. More...
 
void AddWarning (const TopoDS_Shape &start, const Standard_CString amess)
 Records a new Warning message. More...
 
void AddFail (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Fail message. More...
 
void AddWarning (const Handle< Standard_Transient > &start, const Standard_CString amess)
 Records a new Warning message. More...
 
Standard_Boolean HasShapeResult (const TopoDS_Shape &start) const
 Returns True if start was already treated and has a result in "TheMap" else returns False. More...
 
Handle< Standard_TransientGetShapeResult (const TopoDS_Shape &start) const
 Returns the result of the transfer of the Shape "start" contained in "TheMap" . (if HasShapeResult is True). More...
 
void SetShapeResult (const TopoDS_Shape &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Shape "start". More...
 
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. More...
 
Handle< Standard_TransientGetShapeResult (const Handle< Standard_Transient > &start) const
 Returns the result of the transfer of the Transient "start" contained in "TheMap" . (if HasShapeResult is True). More...
 
void SetShapeResult (const Handle< Standard_Transient > &start, const Handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Transient "start". More...
 
Standard_Boolean GetConvertSurfaceMode () const
 Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode) More...
 
Standard_Boolean GetPCurveMode () const
 Returns mode for writing pcurves (value of parameter write.surfacecurve.mode) More...
 
virtual ~BRepToIGES_BREntity ()
 

Detailed Description

provides methods to transfer BRep entity from CASCADE to IGES.

Constructor & Destructor Documentation

BRepToIGES_BREntity::BRepToIGES_BREntity ( )

Creates a tool BREntity.

virtual BRepToIGES_BREntity::~BRepToIGES_BREntity ( )
virtual

Member Function Documentation

void BRepToIGES_BREntity::AddFail ( const TopoDS_Shape start,
const Standard_CString  amess 
)

Records a new Fail message.

void BRepToIGES_BREntity::AddFail ( const Handle< Standard_Transient > &  start,
const Standard_CString  amess 
)

Records a new Fail message.

void BRepToIGES_BREntity::AddWarning ( const TopoDS_Shape start,
const Standard_CString  amess 
)

Records a new Warning message.

void BRepToIGES_BREntity::AddWarning ( const Handle< Standard_Transient > &  start,
const Standard_CString  amess 
)

Records a new Warning message.

Standard_Boolean BRepToIGES_BREntity::GetConvertSurfaceMode ( ) const

Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode)

Handle< IGESData_IGESModel > BRepToIGES_BREntity::GetModel ( ) const

Returns the value of "TheModel".

Standard_Boolean BRepToIGES_BREntity::GetPCurveMode ( ) const

Returns mode for writing pcurves (value of parameter write.surfacecurve.mode)

Handle< Standard_Transient > BRepToIGES_BREntity::GetShapeResult ( const TopoDS_Shape start) const

Returns the result of the transfer of the Shape "start" contained in "TheMap" . (if HasShapeResult is True).

Handle< Standard_Transient > BRepToIGES_BREntity::GetShapeResult ( const Handle< Standard_Transient > &  start) const

Returns the result of the transfer of the Transient "start" contained in "TheMap" . (if HasShapeResult is True).

Handle< Transfer_FinderProcess > BRepToIGES_BREntity::GetTransferProcess ( ) const

Returns the value of "TheMap".

Standard_Real BRepToIGES_BREntity::GetUnit ( ) const

Returns the value of the UnitFlag of the header of the model in meters.

Standard_Boolean BRepToIGES_BREntity::HasShapeResult ( const TopoDS_Shape start) const

Returns True if start was already treated and has a result in "TheMap" else returns False.

Standard_Boolean BRepToIGES_BREntity::HasShapeResult ( const Handle< Standard_Transient > &  start) const

Returns True if start was already treated and has a result in "TheMap" else returns False.

void BRepToIGES_BREntity::Init ( )

Initializes the field of the tool BREntity with default creating values.

void BRepToIGES_BREntity::SetModel ( const Handle< IGESData_IGESModel > &  model)

Set the value of "TheModel".

void BRepToIGES_BREntity::SetShapeResult ( const TopoDS_Shape start,
const Handle< Standard_Transient > &  result 
)

set in "TheMap" the result of the transfer of the Shape "start".

void BRepToIGES_BREntity::SetShapeResult ( const Handle< Standard_Transient > &  start,
const Handle< Standard_Transient > &  result 
)

set in "TheMap" the result of the transfer of the Transient "start".

void BRepToIGES_BREntity::SetTransferProcess ( const Handle< Transfer_FinderProcess > &  TP)

Set the value of "TheMap".

virtual Handle< IGESData_IGESEntity > BRepToIGES_BREntity::TransferShape ( const TopoDS_Shape start)
virtual

Returns the result of the transfert of any Shape If the transfer has failed, this member return a NullEntity.

Reimplemented in BRepToIGESBRep_Entity.


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