25 #ifndef OPENSUBDIV3_OSD_TYPES_H
26 #define OPENSUBDIV3_OSD_TYPES_H
28 #include "../version.h"
29 #include "../far/patchTable.h"
32 namespace OPENSUBDIV_VERSION {
52 handle(handle), s(s), t(t) { }
68 desc(desc), numPatches(numPatches), indexBase(indexBase),
69 primitiveIdBase(primitiveIdBase) {}
104 using namespace OPENSUBDIV_VERSION;
109 #endif // OPENSUBDIV3_OSD_TYPES_H
Local patch parameterization descriptor.
Far::PatchDescriptor const & GetDescriptor() const
std::vector< PatchArray > PatchArrayVector
Coordinates set on a patch table.
int GetNumPatches() const
Far::PatchTable::PatchHandle handle
patch handle
std::vector< PatchParam > PatchParamVector
Describes the type of a patch.
PatchCoord(Far::PatchTable::PatchHandle handle, float s, float t)
Constructor.
int GetPrimitiveIdBase() const
Type GetType() const
Returns the type of the patch.
Far::PatchDescriptor desc
PatchArray(Far::PatchDescriptor desc, int numPatches, int indexBase, int primitiveIdBase)
Handle that can be used as unique patch identifier within PatchTable.
float t
parametric location on patch