DATAKIT API  V2025.1
dtk_BRepOccReader.hpp
Go to the documentation of this file.
1 /**********************************************************
2  STR_VR.H
3 ***********************************************************/
4 #ifndef _DTK_BREPOCC_READER_H_
5 #define _DTK_BREPOCC_READER_H_
6 
7 
8 class BRepOccReader_Private;
9 
10 class BRepOccReader: public Dtk_Reader {
11 
12  public :
13 
15 virtual ~BRepOccReader();
16 static Dtk_bool Enable();
17 
18 // ==== (specific) Settings ====
19 
20 Dtk_ErrorStatus SetSplitMode (const int SplitMode, const double SplitAngle);
21 
22 // ==== General inherited actions ====
23 
24 Dtk_ErrorStatus CreateDocument(const Dtk_string& inInputFile, Dtk_MainDocPtr& outDocument);
25 Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string& outVersion);
26 
28  (const Dtk_string& inInputFile,Dtk_MainDocPtr& inoutDocument,Dtk_ComponentPtr& outRootComponent);
29 Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr >& inArrayStream, Dtk_MainDocPtr& inoutDocument, Dtk_ComponentPtr& outRootComponent );
31 
33  (const Dtk_ComponentPtr& inComponent, Dtk_NodePtr& outRootNode);
34 
35 //Dtk_ErrorStatus ReadEntity(const Dtk_ID& inEntityID, Dtk_EntityPtr& outEntity);
36 
38 
39 //Dtk_ErrorStatus ReadAdditionalInfos(const Dtk_ID &inEntityID, const Dtk_string &inEntityName, Dtk_ObjectPtr &outEntity);
40 
43 
47 
48 
50 
52 
53 // ==== Fields and internal actions ====
54 
55  protected :
56 
57 
58 void _Init();
60 
61 BRepOccReader_Private* _Private;
62 
63 };
64 
65 #endif
66 
BRepOccReader::EndComponent
Dtk_ErrorStatus EndComponent(Dtk_ComponentPtr &inComponent)
BRepOccReader::DesactivateReader
Dtk_ErrorStatus DesactivateReader()
BRepOccReader::ReadComponent
Dtk_ErrorStatus ReadComponent(const Dtk_ComponentPtr &inComponent, Dtk_NodePtr &outRootNode)
BRepOccReader::CreateDocument
Dtk_ErrorStatus CreateDocument(const Dtk_string &inInputFile, Dtk_MainDocPtr &outDocument)
BRepOccReader::ReadAdditionalInfos
Dtk_ErrorStatus ReadAdditionalInfos(Dtk_Node &inNode, Dtk_ObjectPtr &outEntity)
Dtk_Reader
Definition: dtk_reader.hpp:15
BRepOccReader::GetConnectorsPointingToThisComponent
Dtk_ErrorStatus GetConnectorsPointingToThisComponent(Dtk_Component &inCompo, Dtk_tab< Dtk_NodeConnectorPtr > &outConnectedEntities)
Dtk_string
This is a high level string class.
Definition: dtk_string.hpp:58
BRepOccReader::ActivateReader
Dtk_ErrorStatus ActivateReader()
Dtk_bool
char Dtk_bool
Definition: define.h:725
BRepOccReader
Definition: dtk_BRepOccReader.hpp:10
BRepOccReader::~BRepOccReader
virtual ~BRepOccReader()
BRepOccReader::Enable
static Dtk_bool Enable()
BRepOccReader::EndPopulateComponentsTree
Dtk_ErrorStatus EndPopulateComponentsTree()
Dtk_Node
This is the Node Class The Dtk_Node object is used to retrieve informations in a Dtk_ComponentPtr obj...
Definition: dtk_maindoc.hpp:230
Dtk_Int32
int32_t Dtk_Int32
Definition: define.h:687
BRepOccReader::GetFileVersion
Dtk_ErrorStatus GetFileVersion(const Dtk_string &inInputFile, Dtk_string &outVersion)
Dtk_ErrorStatus
Dtk_ErrorStatus
Definition: error_dtk.hpp:6
Dtk_SmartPtr
Definition: util_ptr_dtk.hpp:37
BRepOccReader::ReadEntity
Dtk_ErrorStatus ReadEntity(Dtk_Node &inNode, Dtk_EntityPtr &outEntity)
Dtk_tab
This is a high level array class.
Definition: util_stl_dtk.hpp:85
BRepOccReader::SetSplitMode
Dtk_ErrorStatus SetSplitMode(const int SplitMode, const double SplitAngle)
BRepOccReader::InitReader
Dtk_ErrorStatus InitReader(const Dtk_string &inInputFile)
BRepOccReader::_Private
BRepOccReader_Private * _Private
Definition: dtk_BRepOccReader.hpp:61
BRepOccReader::GetAssociatedEntities
Dtk_ErrorStatus GetAssociatedEntities(Dtk_Node &inNode, Dtk_tab< Dtk_NodeConnectorPtr > &outAssociatedEntities)
Dtk_Component
This is the Component Class. The Dtk_ComponentPtr object is used as element into an assembly tree....
Definition: dtk_maindoc.hpp:563
BRepOccReader::GetVersion
Dtk_Int32 GetVersion()
BRepOccReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_string &inInputFile, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
BRepOccReader::BRepOccReader
BRepOccReader()
BRepOccReader::PopulateComponentsTree
Dtk_ErrorStatus PopulateComponentsTree(const Dtk_tab< Dtk_StreamPtr > &inArrayStream, Dtk_MainDocPtr &inoutDocument, Dtk_ComponentPtr &outRootComponent)
BRepOccReader::_Init
void _Init()