|
HDK
|
#include <GU_IOPLY.h>
Public Member Functions | |
| int | write (const GU_Detail &gdp, std::ostream &os, bool binary) |
| bool | read (GU_Detail &gdp, UT_IStream &is) |
| Read the .ply directly into a gdp. More... | |
Utility classes to load and save .ply files. Note this is not a standard IO extension itself.
Definition at line 23 of file GU_IOPLY.h.
| bool GU_IOPLYUtil::read | ( | GU_Detail & | gdp, |
| UT_IStream & | is | ||
| ) |
Read the .ply directly into a gdp.
Write the gdp to the os as a .ply. Note this does not apply any promtion of vertex attributes or convexing to 255. NOTE: This writes with the streams current precision, default precision is insufficent so you may need to do: os.precision(SYS_FLT_DIG);