7 #ifndef PXR_IMAGING_GEOM_UTIL_CUBOID_MESH_GENERATOR_H
8 #define PXR_IMAGING_GEOM_UTIL_CUBOID_MESH_GENERATOR_H
66 return GeomUtilInterpolationTokens->uniform;
72 template<
typename PointIterType,
78 const ScalarType xLength,
79 const ScalarType yLength,
80 const ScalarType zLength,
86 _GeneratePointsImpl(xLength, yLength, zLength,
93 template<
typename PointIterType,
103 _GenerateNormalsImpl(
112 template<
typename Po
intType>
113 static void _GeneratePointsImpl(
114 const typename PointType::ScalarType xLength,
115 const typename PointType::ScalarType yLength,
116 const typename PointType::ScalarType zLength,
117 const _PointWriter<PointType>& ptWriter);
119 template<
typename Po
intType>
120 static void _GenerateNormalsImpl(
121 const _PointWriter<PointType>& ptWriter);
126 #endif // PXR_IMAGING_GEOM_UTIL_CUBOID_MESH_GENERATOR_H
static TfToken GetNormalsInterpolation()
static size_t ComputeNumNormals()
static GEOMUTIL_API size_t ComputeNumPoints()
static void GenerateNormals(PointIterType iter, const GfMatrix4d *framePtr=nullptr)
static void GeneratePoints(PointIterType iter,...)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
static void GeneratePoints(PointIterType iter, const ScalarType xLength, const ScalarType yLength, const ScalarType zLength, const GfMatrix4d *framePtr=nullptr)
static GEOMUTIL_API PxOsdMeshTopology GenerateTopology()
static void GenerateNormals(PointIterType iter,...)