Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Data Structures
IGESCAFControl_Writer.hxx File Reference
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <Standard_Boolean.hxx>
#include <IGESControl_Writer.hxx>
#include <Handle_XSControl_WorkSession.hxx>
#include <Handle_TDocStd_Document.hxx>
#include <Standard_CString.hxx>

Data Structures

class  IGESCAFControl_Writer
 Provides a tool to write DECAF document to the
IGES file. Besides transfer of shapes (including
assemblies) provided by IGESControl, supports also
colors and part names
IGESCAFControl_Writer writer();
Methods for writing IGES file:
writer.Transfer (Document);
writer.Write("filename") or writer.Write(OStream) or
writer.Perform(Document,"filename");
Methods for managing the writing of attributes.
Colors
writer.SetColorMode(colormode);
Standard_Boolean colormode = writer.GetColorMode();
Layers
writer.SetLayerMode(layermode);
Standard_Boolean layermode = writer.GetLayerMode();
Names
writer.SetNameMode(namemode);
Standard_Boolean namemode = writer.GetNameMode();
More...