|
| IGESCAFControl_Writer () |
| Creates a writer with an empty IGES model and sets ColorMode, LayerMode and NameMode to Standard_True.
|
|
| 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.
|
|
| IGESCAFControl_Writer (const Handle< XSControl_WorkSession > &theWS, const Standard_CString theUnit) |
| Creates a reader tool and attaches it to an already existing Session Clears the session if it was not yet set for IGES Sets target Unit for the writing process.
|
|
Standard_Boolean | Transfer (const Handle< TDocStd_Document > &doc, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| Transfers a document to a IGES model Returns True if translation is OK.
|
|
Standard_Boolean | Transfer (const TDF_LabelSequence &labels, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| Transfers labels to a IGES model Returns True if translation is OK.
|
|
Standard_Boolean | Transfer (const TDF_Label &label, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| Transfers label to a IGES model Returns True if translation is OK.
|
|
Standard_Boolean | Perform (const Handle< TDocStd_Document > &doc, const TCollection_AsciiString &filename, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
|
Standard_Boolean | Perform (const Handle< TDocStd_Document > &doc, const Standard_CString filename, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| Transfers a document and writes it to a IGES file Returns True if translation is OK.
|
|
void | SetColorMode (const Standard_Boolean colormode) |
| Set ColorMode for indicate write Colors or not.
|
|
Standard_Boolean | GetColorMode () const |
|
void | SetNameMode (const Standard_Boolean namemode) |
| Set NameMode for indicate write Name or not.
|
|
Standard_Boolean | GetNameMode () const |
|
void | SetLayerMode (const Standard_Boolean layermode) |
| Set LayerMode for indicate write Layers or not.
|
|
Standard_Boolean | GetLayerMode () const |
|
| IGESControl_Writer () |
| Creates a writer object with the default unit (millimeters) and write mode (Face). IGESControl_Writer (const Standard_CString unit, const Standard_Integer modecr = 0);.
|
|
| IGESControl_Writer (const Standard_CString theUnit, const Standard_Integer theModecr=0) |
| Creates a writer with given values for units and for write mode. theUnit may be any unit that is accepted by the IGES standard. By default, it is the millimeter. theModecr defines the write mode and may be:
|
|
| IGESControl_Writer (const Handle< IGESData_IGESModel > &theModel, const Standard_Integer theModecr=0) |
| Creates a writer object with the prepared IGES model theModel in write mode. theModecr defines the write mode and may be:
|
|
const Handle< IGESData_IGESModel > & | Model () const |
| Returns the IGES model to be written in output.
|
|
const Handle< Transfer_FinderProcess > & | TransferProcess () const |
|
void | SetTransferProcess (const Handle< Transfer_FinderProcess > &TP) |
| Returns/Sets the TransferProcess : it contains final results and if some, check messages.
|
|
Standard_Boolean | AddShape (const TopoDS_Shape &sh, const Message_ProgressRange &theProgress=Message_ProgressRange()) |
| Translates a Shape to IGES Entities and adds them to the model Returns True if done, False if Shape not suitable for IGES or null.
|
|
Standard_Boolean | AddGeom (const Handle< Standard_Transient > &geom) |
| Translates a Geometry (Surface or Curve) to IGES Entities and adds them to the model Returns True if done, False if geom is neither a Surface or a Curve suitable for IGES or is null.
|
|
Standard_Boolean | AddEntity (const Handle< IGESData_IGESEntity > &ent) |
| Adds an IGES entity (and the ones it references) to the model.
|
|
void | ComputeModel () |
| Computes the entities found in the model, which is ready to be written. This contrasts with the default computation of headers only.
|
|
Standard_Boolean | Write (Standard_OStream &S, const Standard_Boolean fnes=Standard_False) |
| Computes then writes the model to an OStream Returns True when done, false in case of error.
|
|
Standard_Boolean | Write (const Standard_CString file, const Standard_Boolean fnes=Standard_False) |
| Prepares and writes an IGES model either to an OStream, S or to a file name,CString. Returns True if the operation was performed correctly and False if an error occurred (for instance, if the processor could not create the file).
|
|
void | SetShapeFixParameters (const XSAlgo_ShapeProcessor::ParameterMap &theParameters) |
| Sets parameters for shape processing.
|
|
void | SetShapeFixParameters (XSAlgo_ShapeProcessor::ParameterMap &&theParameters) |
| Sets parameters for shape processing. Parameters are moved from the input map.
|
|
void | SetShapeFixParameters (const DE_ShapeFixParameters &theParameters, const XSAlgo_ShapeProcessor::ParameterMap &theAdditionalParameters={}) |
| Sets parameters for shape processing. Parameters from theParameters are copied to the internal map. Parameters from theAdditionalParameters are copied to the internal map if they are not present in theParameters .
|
|
const XSAlgo_ShapeProcessor::ParameterMap & | GetShapeFixParameters () const |
| Returns parameters for shape processing that was set by SetParameters() method.
|
|
void | SetShapeProcessFlags (const ShapeProcess::OperationsFlags &theFlags) |
| Sets flags defining operations to be performed on shapes.
|
|
const ShapeProcess::OperationsFlags & | GetShapeProcessFlags () const |
| Returns flags defining operations to be performed on shapes.
|
|