#include <GEO_IORib.h>

Public Member Functions | |
| GEO_IORib () | |
| virtual | ~GEO_IORib () |
| virtual const char * | formatName () const |
| virtual int | checkExtension (const char *name) |
| virtual int | checkMagicNumber (unsigned magic) |
| virtual int | fileSave (const GEO_Detail *gdp, ostream &) |
| Method to save a gdp to another format. | |
| virtual bool | fileLoad (GEO_Detail *, UT_IStream &, int) |
| void | setMBGeo (const GEO_Detail *gdp) |
| void | addMBGeo (const GEO_Detail *gdp) |
| void | setMBParticle (int onoff) |
| void | setOutputPrimGroup (const GB_PrimitiveGroup *grp) |
| void | setVersion (const char *renderer, int major=3, int minor=6) |
| void | setForIFD (int onoff=1) |
| void | setCurveBasis (const char *basis) |
| void | setPolySubdivide (int on) |
| void | setPoints (int on, float size=1) |
| void | setShutterSpeed (float shutter=1) |
Static Public Member Functions | |
| static void | outputQuadricAttributes (GEO_IORibPrinter &, const GEO_Primitive *, const GEO_Vertex *, int dup=4, float pscale=1) |
| static int | outputParticleAttributes (GEO_IORibPrinter &out, const GEO_PrimParticle *part, float pscale=1, int dup=1, int allow_N=0) |
Definition at line 47 of file GEO_IORib.h.
| GEO_IORib::GEO_IORib | ( | ) |
| virtual GEO_IORib::~GEO_IORib | ( | ) | [virtual] |
| void GEO_IORib::addMBGeo | ( | const GEO_Detail * | gdp | ) |
| virtual int GEO_IORib::checkExtension | ( | const char * | name | ) | [virtual] |
Method to check the extension of the name to see if it matches one that we can handle.
Implements GEO_IOTranslator.
| virtual int GEO_IORib::checkMagicNumber | ( | unsigned | magic | ) | [virtual] |
Method to check if the given magic number matches the magic number. Note that this can return 0 if there is no magic number.
Implements GEO_IOTranslator.
| virtual bool GEO_IORib::fileLoad | ( | GEO_Detail * | , | |
| UT_IStream & | , | |||
| int | ate_magic | |||
| ) | [virtual] |
Method to load from a stream. If the ate_magic flag is on, then the library has already read the magic number and the loader should not expect it.
Reimplemented from GEO_IOTranslator.
| virtual int GEO_IORib::fileSave | ( | const GEO_Detail * | , | |
| ostream & | ||||
| ) | [virtual] |
| virtual const char* GEO_IORib::formatName | ( | ) | const [virtual] |
Returns the label for the geometry format that this translator supports.
Implements GEO_IOTranslator.
| static int GEO_IORib::outputParticleAttributes | ( | GEO_IORibPrinter & | out, | |
| const GEO_PrimParticle * | part, | |||
| float | pscale = 1, |
|||
| int | dup = 1, |
|||
| int | allow_N = 0 | |||
| ) | [static] |
| static void GEO_IORib::outputQuadricAttributes | ( | GEO_IORibPrinter & | , | |
| const GEO_Primitive * | , | |||
| const GEO_Vertex * | , | |||
| int | dup = 4, |
|||
| float | pscale = 1 | |||
| ) | [static] |
| void GEO_IORib::setCurveBasis | ( | const char * | basis | ) |
| void GEO_IORib::setForIFD | ( | int | onoff = 1 |
) | [inline] |
Definition at line 87 of file GEO_IORib.h.
| void GEO_IORib::setMBGeo | ( | const GEO_Detail * | gdp | ) | [inline] |
Definition at line 62 of file GEO_IORib.h.
| void GEO_IORib::setMBParticle | ( | int | onoff | ) | [inline] |
Definition at line 65 of file GEO_IORib.h.
| void GEO_IORib::setOutputPrimGroup | ( | const GB_PrimitiveGroup * | grp | ) | [inline] |
Definition at line 66 of file GEO_IORib.h.
| void GEO_IORib::setPoints | ( | int | on, | |
| float | size = 1 | |||
| ) |
| void GEO_IORib::setPolySubdivide | ( | int | on | ) |
| void GEO_IORib::setShutterSpeed | ( | float | shutter = 1 |
) | [inline] |
Definition at line 94 of file GEO_IORib.h.
| void GEO_IORib::setVersion | ( | const char * | renderer, | |
| int | major = 3, |
|||
| int | minor = 6 | |||
| ) | [inline] |
Definition at line 79 of file GEO_IORib.h.
1.5.9