#include <IGESCAFControl_Writer.hxx>
Inheritance diagram for IGESCAFControl_Writer:
Public Member Functions | |
void * | operator new (size_t, void *anAddress) |
void * | operator new (size_t size) |
void | operator delete (void *anAddress) |
Standard_EXPORT | IGESCAFControl_Writer () |
Creates a writer with an empty IGES model and sets ColorMode, LayerMode and NameMode to Standard_True. . | |
Standard_EXPORT | IGESCAFControl_Writer (const Handle(XSControl_WorkSession)&WS, const Standard_Boolean scratch=Standard_True) |
Creates a reader tool and attaches it to an already existing Session Clears the session if it was not yet set for IGES . | |
Standard_EXPORT Standard_Boolean | Transfer (const Handle(TDocStd_Document)&doc) |
Transfers a document to a IGES model Returns True if translation is OK . | |
Standard_EXPORT Standard_Boolean | Perform (const Handle(TDocStd_Document)&doc, const TCollection_AsciiString &filename) |
Standard_EXPORT Standard_Boolean | Perform (const Handle(TDocStd_Document)&doc, const Standard_CString filename) |
Transfers a document and writes it to a IGES file Returns True if translation is OK . | |
Standard_EXPORT void | SetColorMode (const Standard_Boolean colormode) |
Set ColorMode for indicate write Colors or not. . | |
Standard_EXPORT Standard_Boolean | GetColorMode () const |
Standard_EXPORT void | SetNameMode (const Standard_Boolean namemode) |
Set NameMode for indicate write Name or not. . | |
Standard_EXPORT Standard_Boolean | GetNameMode () const |
Standard_EXPORT void | SetLayerMode (const Standard_Boolean layermode) |
Set LayerMode for indicate write Layers or not. . | |
Standard_EXPORT Standard_Boolean | GetLayerMode () const |
Protected Member Functions | |
Standard_EXPORT Standard_Boolean | WriteAttributes (const Handle(TDocStd_Document)&doc) |
Reads colors from DECAF document and assigns them to corresponding IGES entities . | |
Standard_EXPORT Standard_Boolean | WriteLayers (const Handle(TDocStd_Document)&doc) |
Reads layers from DECAF document and assigns them to corresponding IGES entities . | |
Standard_EXPORT Standard_Boolean | WriteNames (const Handle(TDocStd_Document)&doc) |
Recursivile iterates on subshapes and assign names to IGES entity . | |
Private Member Functions | |
Standard_EXPORT void | MakeColors (const TopoDS_Shape &S, const XCAFPrs_DataMapOfShapeStyle &settings, XCAFPrs_DataMapOfStyleTransient &colors, TopTools_MapOfShape &Map, const XCAFPrs_Style &inherit) |
Recursively iterates on subshapes and assigns colors to faces and edges (if set) . | |
Private Attributes | |
Standard_Boolean | myColorMode |
Standard_Boolean | myNameMode |
Standard_Boolean | myLayerMode |
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from IGESControl_Writer. |
|
Reimplemented from IGESControl_Writer. |
|
Reimplemented from IGESControl_Writer. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|