Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
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.
 
void Init ()
 Initializes the field of the tool BREntity with default creating values.
 
void SetModel (const occ::handle< IGESData_IGESModel > &model)
 Set the value of "TheModel".
 
occ::handle< IGESData_IGESModelGetModel () const
 Returns the value of "TheModel".
 
double GetUnit () const
 Returns the value of the UnitFlag of the header of the model in meters.
 
void SetTransferProcess (const occ::handle< Transfer_FinderProcess > &TP)
 Set the value of "TheMap".
 
occ::handle< Transfer_FinderProcessGetTransferProcess () const
 Returns the value of "TheMap".
 
virtual occ::handle< IGESData_IGESEntityTransferShape (const TopoDS_Shape &start, const Message_ProgressRange &theProgress=Message_ProgressRange())
 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 char *const amess)
 Records a new Fail message.
 
void AddWarning (const TopoDS_Shape &start, const char *const amess)
 Records a new Warning message.
 
void AddFail (const occ::handle< Standard_Transient > &start, const char *const amess)
 Records a new Fail message.
 
void AddWarning (const occ::handle< Standard_Transient > &start, const char *const amess)
 Records a new Warning message.
 
bool HasShapeResult (const TopoDS_Shape &start) const
 Returns True if start was already treated and has a result in "TheMap" else returns False.
 
occ::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).
 
void SetShapeResult (const TopoDS_Shape &start, const occ::handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Shape "start".
 
bool HasShapeResult (const occ::handle< Standard_Transient > &start) const
 Returns True if start was already treated and has a result in "TheMap" else returns False.
 
occ::handle< Standard_TransientGetShapeResult (const occ::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 occ::handle< Standard_Transient > &start, const occ::handle< Standard_Transient > &result)
 set in "TheMap" the result of the transfer of the Transient "start".
 
bool GetConvertSurfaceMode () const
 Returns mode for conversion of surfaces (value of parameter write.convertsurface.mode)
 
bool GetPCurveMode () const
 Returns mode for writing pcurves (value of parameter write.surfacecurve.mode)
 
virtual ~BRepToIGES_BREntity ()
 

Detailed Description

provides methods to transfer BRep entity from CASCADE to IGES.

Constructor & Destructor Documentation

◆ BRepToIGES_BREntity()

BRepToIGES_BREntity::BRepToIGES_BREntity ( )

Creates a tool BREntity.

◆ ~BRepToIGES_BREntity()

virtual BRepToIGES_BREntity::~BRepToIGES_BREntity ( )
virtual

Member Function Documentation

◆ AddFail() [1/2]

void BRepToIGES_BREntity::AddFail ( const occ::handle< Standard_Transient > & start,
const char *const amess )

Records a new Fail message.

◆ AddFail() [2/2]

void BRepToIGES_BREntity::AddFail ( const TopoDS_Shape & start,
const char *const amess )

Records a new Fail message.

◆ AddWarning() [1/2]

void BRepToIGES_BREntity::AddWarning ( const occ::handle< Standard_Transient > & start,
const char *const amess )

Records a new Warning message.

◆ AddWarning() [2/2]

void BRepToIGES_BREntity::AddWarning ( const TopoDS_Shape & start,
const char *const amess )

Records a new Warning message.

◆ GetConvertSurfaceMode()

bool BRepToIGES_BREntity::GetConvertSurfaceMode ( ) const

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

◆ GetModel()

occ::handle< IGESData_IGESModel > BRepToIGES_BREntity::GetModel ( ) const

Returns the value of "TheModel".

◆ GetPCurveMode()

bool BRepToIGES_BREntity::GetPCurveMode ( ) const

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

◆ GetShapeResult() [1/2]

occ::handle< Standard_Transient > BRepToIGES_BREntity::GetShapeResult ( const occ::handle< Standard_Transient > & start) const

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

◆ GetShapeResult() [2/2]

occ::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).

◆ GetTransferProcess()

occ::handle< Transfer_FinderProcess > BRepToIGES_BREntity::GetTransferProcess ( ) const

Returns the value of "TheMap".

◆ GetUnit()

double BRepToIGES_BREntity::GetUnit ( ) const

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

◆ HasShapeResult() [1/2]

bool BRepToIGES_BREntity::HasShapeResult ( const occ::handle< Standard_Transient > & start) const

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

◆ HasShapeResult() [2/2]

bool BRepToIGES_BREntity::HasShapeResult ( const TopoDS_Shape & start) const

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

◆ Init()

void BRepToIGES_BREntity::Init ( )

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

◆ SetModel()

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

Set the value of "TheModel".

◆ SetShapeResult() [1/2]

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

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

◆ SetShapeResult() [2/2]

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

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

◆ SetTransferProcess()

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

Set the value of "TheMap".

◆ TransferShape()

virtual occ::handle< IGESData_IGESEntity > BRepToIGES_BREntity::TransferShape ( const TopoDS_Shape & start,
const Message_ProgressRange & theProgress = Message_ProgressRange() )
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: