Functions | |
| DtkErrorStatus | psw_CreateAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info) | 
| Create all attribut attached to a component (body, assembly, instance)  More... | |
| DtkErrorStatus | psw_CreateCSysAttribut (Dtk_ID inIdCompo, const Dtk_transfo &transfo, Dtk_bool bCurrent) | 
| Create Coordinate System attribute attached to a point body (body with 1 point only)  More... | |
| DtkErrorStatus | psw_CreateEmptyAssembly (Dtk_ID &outIdass) | 
| Create the entry item of an assembly.  More... | |
| DtkErrorStatus | psw_CreateInstance (Dtk_ID inIdAss, Dtk_ID inIdPart, Dtk_transfoPtr &Matrix, Dtk_ID &outIdInst) | 
| Create an Instance item of a part referenced by inIdPart.  More... | |
| DtkErrorStatus | psw_EndFile (Dtk_tab< Dtk_ID > &inTabIds, Dtk_bool binForceListOfBody=DTK_FALSE) | 
| Ends the writing of the Parasolid (x_t or x_b) file.  More... | |
| DtkErrorStatus | psw_InitFile (const Dtk_string &inFileOut, Dtk_bool muteMode, Dtk_Int32 inVersion=180) | 
| Initialise a file to be written.  More... | |
| DtkErrorStatus | psw_LinkAttribut (Dtk_ID inIdAss) | 
| link all attributes attached to an assembly  More... | |
| DtkErrorStatus | psw_SetNoNamedAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info) | 
| set name attribute if not defined only (body, assembly, instance)  More... | |
| Dtk_ErrorStatus | psw_SetPublicationAttribut (Dtk_ID inIdCompo, const Dtk_string &publication) | 
| Create all publication attributes attached to a component (body)  More... | |
| Dtk_ErrorStatus | psw_SetReaderType (DtkReaderType readertype) | 
| set the current reader used on the writer activated  More... | |
| DtkErrorStatus | psw_UpdateNameAttribut (Dtk_ID inIdCompo, Dtk_InfoPtr &info) | 
| Update name attribute only (body, assembly, instance)  More... | |
| Dtk_ErrorStatus | psw_WriteBody (Dtk_BodyPtr &inBody) | 
| Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points)  More... | |
| Dtk_ErrorStatus | psw_WriteBody (Dtk_BodyPtr &inBody, Dtk_tab< Dtk_ID > &outTabIds, Dtk_Int32 writeMode=0) | 
| Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points)  More... | |
| DtkErrorStatus | psw_WriteBody (Dtk_tab< Dtk_ID > &outTabIds, Dtk_tab< Dtk_BodyPtr > &bodies, Dtk_bool bSewing=DTK_TRUE, Dtk_Double64 tolmin=0.01, Dtk_Double64 tolmax=0.05, int iterationNumber=3) | 
| Writes a list of Bodies of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points) with sewing or not.  More... | |
| Dtk_ErrorStatus | psw_WriteMesh (Dtk_MeshPtr &inMesh, Dtk_tab< Dtk_ID > &outTabIds, Dtk_bool bExplode=DTK_FALSE) | 
| Writes a Mesh of a 3D part.  More... | |
| Dtk_ErrorStatus | psw_WritePointBody (const Dtk_AxisSystemPtr &inObject, Dtk_tab< Dtk_ID > &outTabIds) | 
| Writes a Body defined by one point only.  More... | |
| DtkErrorStatus psw_CreateAttribut | ( | Dtk_ID | inIdCompo, | 
| Dtk_InfoPtr & | info | ||
| ) | 
Create all attribut attached to a component (body, assembly, instance)
| [in] | inIdCompo | id of the component item | 
| [in] | info | attributs defined on the Dtk_InfoPtr object | 
| DtkErrorStatus psw_CreateCSysAttribut | ( | Dtk_ID | inIdCompo, | 
| const Dtk_transfo & | transfo, | ||
| Dtk_bool | bCurrent | ||
| ) | 
Create Coordinate System attribute attached to a point body (body with 1 point only)
| [in] | inIdCompo | id of the component item | 
| [in] | transfo | matrix used to define the 3 axis | 
| [in] | bCurrent | define if this axis is current or not | 
| DtkErrorStatus psw_CreateEmptyAssembly | ( | Dtk_ID & | outIdass | ) | 
Create the entry item of an assembly.
| [out] | outIdass | : the assembly item - entry written | 
| DtkErrorStatus psw_CreateInstance | ( | Dtk_ID | inIdAss, | 
| Dtk_ID | inIdPart, | ||
| Dtk_transfoPtr & | Matrix, | ||
| Dtk_ID & | outIdInst | ||
| ) | 
Create an Instance item of a part referenced by inIdPart.
| [in] | inIdAss | id of the father assembly's item | 
| [in] | inIdPart | id of the part (body or assembly) referenced | 
| [in] | Matrix | matrix used to position the instance on the assembly | 
| [out] | outIdInst | : the instance item - entry written | 
| DtkErrorStatus psw_EndFile | ( | Dtk_tab< Dtk_ID > & | inTabIds, | 
| Dtk_bool | binForceListOfBody = DTK_FALSE  | 
        ||
| ) | 
Ends the writing of the Parasolid (x_t or x_b) file.
| [in] | inTabIds | : the tab of body/assembly-entry written at level 0 if size > 1, a start list is created | 
| [in] | binForceListOfBody | : if true, no assembly created default = false | 
| DtkErrorStatus psw_InitFile | ( | const Dtk_string & | inFileOut, | 
| Dtk_bool | muteMode, | ||
| Dtk_Int32 | inVersion = 180  | 
        ||
| ) | 
Initialise a file to be written.
| [in] | inFileOut | : Parasolid (x_t or x_b) File to write | 
| [in] | muteMode | : no log file used  | 
| [in] | inVersion | : vesion to write, default = 100 (= 10.0) | 
| DtkErrorStatus psw_LinkAttribut | ( | Dtk_ID | inIdAss | ) | 
link all attributes attached to an assembly
| [in] | inIdAss | id of the assembly item | 
| DtkErrorStatus psw_SetNoNamedAttribut | ( | Dtk_ID | inIdCompo, | 
| Dtk_InfoPtr & | info | ||
| ) | 
set name attribute if not defined only (body, assembly, instance)
| [in] | inIdCompo | id of the component item | 
| [in] | info | attributes defined on the Dtk_InfoPtr object | 
| Dtk_ErrorStatus psw_SetPublicationAttribut | ( | Dtk_ID | inIdCompo, | 
| const Dtk_string & | publication | ||
| ) | 
Create all publication attributes attached to a component (body)
| [in] | inIdCompo | id of the component item | 
| [in] | publication | Dtk_string defined the name of publication | 
| Dtk_ErrorStatus psw_SetReaderType | ( | DtkReaderType | readertype | ) | 
set the current reader used on the writer activated
| [in] | readertype | : the reader | 
| DtkErrorStatus psw_UpdateNameAttribut | ( | Dtk_ID | inIdCompo, | 
| Dtk_InfoPtr & | info | ||
| ) | 
Update name attribute only (body, assembly, instance)
| [in] | inIdCompo | id of the component item | 
| [in] | info | attributes defined on the Dtk_InfoPtr object | 
| Dtk_ErrorStatus psw_WriteBody | ( | Dtk_BodyPtr & | inBody | ) | 
Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points)
| [in] | inBody | : the Body to be written | 
| Dtk_ErrorStatus psw_WriteBody | ( | Dtk_BodyPtr & | inBody, | 
| Dtk_tab< Dtk_ID > & | outTabIds, | ||
| Dtk_Int32 | writeMode = 0  | 
        ||
| ) | 
Writes a Body of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points)
| [in] | inBody | : the Body to be written | 
| [in] | writeMode | : [0] = one body per closed shell and one body per open shell, [1] = separate all faces, [2] one body per closed shell and only one body for all the open shells (combined values possible) | 
| [out] | outTabIds | : the tab of body-entry written | 
| DtkErrorStatus psw_WriteBody | ( | Dtk_tab< Dtk_ID > & | outTabIds, | 
| Dtk_tab< Dtk_BodyPtr > & | bodies, | ||
| Dtk_bool | bSewing = DTK_TRUE,  | 
        ||
| Dtk_Double64 | tolmin = 0.01,  | 
        ||
| Dtk_Double64 | tolmax = 0.05,  | 
        ||
| int | iterationNumber = 3  | 
        ||
| ) | 
Writes a list of Bodies of a 3D part (3D content of a product), of any kind (solid, shell / faces, wireframe / points) with sewing or not.
| [in] | bodies | : the list of Bodies to be written | 
| [in] | bSewing | : a sewing action of the bodies is performed or not | 
| [in] | tolmin | : the start tolerance used for the sewing process | 
| [in] | tolmax | : the last tolerance used for the sewing process | 
| [in] | iterationNumber | : the number of iteration between start and last tolerance for the sewing process | 
| [out] | outTabIds | : the tab of body-entry written | 
| Dtk_ErrorStatus psw_WriteMesh | ( | Dtk_MeshPtr & | inMesh, | 
| Dtk_tab< Dtk_ID > & | outTabIds, | ||
| Dtk_bool | bExplode = DTK_FALSE  | 
        ||
| ) | 
Writes a Mesh of a 3D part.
| [in] | inMesh | : the Mesh to be written | 
| [in] | bExplode | : if true 1 body written per face | 
| [out] | outTabIds | : the tab of body-entry written | 
| Dtk_ErrorStatus psw_WritePointBody | ( | const Dtk_AxisSystemPtr & | inObject, | 
| Dtk_tab< Dtk_ID > & | outTabIds | ||
| ) | 
Writes a Body defined by one point only.
| [in] | point | : the point | 
| [out] | outTabIds | : the tab of body-entry written |