Hide menu
cadex::USD_Writer Class Reference

Writes USD files. More...

Inheritance diagram for cadex::USD_Writer:

Public Member Functions

 USD_Writer ()
 Creates an object. More...
const USD_WriterParametersParameters () const
 Returns parameters.
USD_WriterParametersParameters ()
 Returns parameters.
- Public Member Functions inherited from cadex::Base_Writer
 ~Base_Writer ()
bool Transfer (const ModelData_Model &theModel)
 Converts source model into memory representation of the target file.
bool Transfer (const TopoDS_Shape &theShape)
 Converts source shape into memory representation of the target file. More...
bool WriteFile (const Base_UTF16String &theFileName)
 Writes contents to a target file. More...
bool WriteFile (std::ostream &theStream)
 Writes contents to a target stream. More...
Base_ProgressStatusProgressStatus () const
 Returns a progress status.
Base_WriterStatistics Statistics () const
 Returns an object containing information about export process.
internal::Base_Writer_Private * Impl () const
template<typename T >
T * Impl () const
 Reserved for internal use.

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_Writer
 Base_Writer (internal::Base_Writer_Private *theImpl)

Detailed Description

Writes USD files.

Refer to USD Converter.

The format of resulting file is chosen automatically based on the file extension provided to WriteFile(). Possible options are:
  • USDA. Writes human-readable ASCII file.
  • USDC. Writes compressed binary file known as Crate.
  • USDZ. Writes packed USD file to be used in macOS and iOS AR facilities.
  • USD. Same as USDC.
WriteFile() overload accepting a stream cannot be used. Instead, use the overload accepting a file name.

Constructor & Destructor Documentation

◆ USD_Writer()

cadex::USD_Writer::USD_Writer ( )

Creates an object.

Empty constructor.