Reads supported formats, see Import section. More...
#include <cadex/ModelData/ModelReader.hxx>
Public Member Functions | |
| ModelReader () | |
| Constructor. | |
| const ModelReaderParameters & | Parameters () |
| Returns reader parameters. | |
| void | SetParameters (const ModelReaderParameters &theParameters) |
| Sets reader parameters. | |
| bool | Read (const UTF16String &theFilePath, ModelData::Model &theModel) |
| Reads the file at the specified path into the specified model. | |
| void | SetProgressStatus (cadex::ProgressStatus &theStatus) |
| const cadex::ProgressStatus & | ProgressStatus () |
Public Member Functions inherited from cadex::BaseObject | |
| size_t | Id () const |
| Return unique identifier of public object. | |
| internal::BaseObjectImpl * | Impl () const |
| bool | IsNull () const |
| operator bool () const | |
| template<typename T > | |
| bool | IsOfType () const |
| template<typename T > | |
| T * | Impl () const |
| Reserved for internal use. | |
Additional Inherited Members | |
Public Types inherited from cadex::BaseObject | |
| typedef std::shared_ptr< internal::BaseObjectImpl > | ImplType |
Protected Member Functions inherited from cadex::BaseObject | |
| BaseObject (const ImplType &theImpl) | |
Reads supported formats, see Import section.
| bool cadex::ModelData::ModelReader::Read | ( | const UTF16String & | theFilePath, |
| ModelData::Model & | theModel ) |
Reads the file at the specified path into the specified model.
Returns true if the reading process succeeded, false otherwise.
| BaseError_MissingFile | if the file can't be found at the specified path. |
| BaseError_MissingModule | if no reader for the specified file could be found (either because the format is not supported by Manufacturing Toolkit, or because a related module couldn't be loaded). |
| LicenseManager_LicenseError | if the corresponding reader was found but there was no active license for it. |