CAD Exchanger SDK
cadex::OBJ_Reader Class Reference

Reads Wavefront OBJ files. More...

Inheritance diagram for cadex::OBJ_Reader:
cadex::Base_Reader

Public Member Functions

 OBJ_Reader ()
 
const OBJ_ReaderParametersParameters () const
 Returns parameters.
 
OBJ_ReaderParametersParameters ()
 Returns parameters.
 
- Public Member Functions inherited from cadex::Base_Reader
 ~Base_Reader ()
 Destructor.
 
bool ReadFile (const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool ReadFile (std::istream &theStream)
 Reads the file into memory. More...
 
bool ReadFile (const std::shared_ptr< Base_IStreamProviderFactory > &theFactory, const Base_UTF16String &theFileName)
 Reads the file into memory. More...
 
bool Transfer (ModelData_Model &theModel)
 Converts read file into a resulting model. More...
 
bool Transfer (TopoDS_Shape &theShape)
 Converts read file into a resulting shape. More...
 
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
 
internal::Base_Reader_Private * Impl () const
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Reader
 Base_Reader (internal::Base_Reader_Private *theImpl)
 Constructor.
 

Detailed Description

Reads Wavefront OBJ files.

Refer to OBJ Converter.

Warning
ReadFile() overload accepting a stream cannot be used. Instead, use the overload accepting a file name.

Constructor & Destructor Documentation

◆ OBJ_Reader()

cadex::OBJ_Reader::OBJ_Reader ( )

Constructor.

Exceptions
LicenseManager_LicenseErrorif no OBJ license was activated.