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(handleArg),
s(sArg),
t(tArg) { }
67 int indexBase_in,
int primitiveIdBase_in) :
104 using namespace OPENSUBDIV_VERSION;
109 #endif // OPENSUBDIV3_OSD_TYPES_H
Local patch parameterization descriptor.
PatchCoord(Far::PatchTable::PatchHandle handleArg, float sArg, float tArg)
Constructor.
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.
PatchArray(Far::PatchDescriptor desc_in, int numPatches_in, int indexBase_in, int primitiveIdBase_in)
int GetPrimitiveIdBase() const
Type GetType() const
Returns the type of the patch.
Far::PatchDescriptor desc
Handle that can be used as unique patch identifier within PatchTable.
float t
parametric location on patch