HDK
|
#include <GU_IOWavefront.h>
Public Member Functions | |
int | write (const GU_Detail &gdp, std::ostream &os) |
bool | read (GU_Detail &gdp, UT_IStream &is) |
void | setDefaultGroup (const UT_StringHolder &group) |
Controls what is output after the default g line when writing. More... | |
Protected Attributes | |
UT_StringHolder | myDefaultGroup |
Utility classes to load and save .obj files. Note this is not a standard IO extension itself.
Definition at line 22 of file GU_IOWavefront.h.
bool GU_IOWavefrontUtil::read | ( | GU_Detail & | gdp, |
UT_IStream & | is | ||
) |
Read the .obj directly into a gdp. This does not do any reversal
|
inline |
Controls what is output after the default g line when writing.
Definition at line 38 of file GU_IOWavefront.h.
Write the gdp to the os as a .obj. Note this does not apply any conversion or reversal of polygons, the caller is expected to have done this. NOTE: This writes with the streams current precision, default precision is insufficent so you may need to do: os.precision(SYS_FLT_DIG);
|
protected |
Definition at line 42 of file GU_IOWavefront.h.