CAD Exchanger SDK
cadex::STEP_Reader Class Reference

Reads STEP files. More...

Inheritance diagram for cadex::STEP_Reader:
cadex::Base_Reader cadex::STEPXDE_Reader

Public Member Functions

 STEP_Reader ()
 Constructor.
 
const STEP_ReaderParametersParameters () const
 Returns parameters.
 
STEP_ReaderParametersParameters ()
 Sets 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.
 

Protected Member Functions

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

Detailed Description

Reads STEP files.

Refer to STEP Converter.

Warning
ReadFile() overload accepting a stream cannot be used. Instead, use the overload accepting a file name.
Examples:
cadexgen/main.cxx, cadexviewer/qt5_qml/main.cxx, and meshing/main.cxx.