24 #ifndef PXR_IMAGING_GEOM_UTIL_CYLINDER_MESH_GENERATOR_H
25 #define PXR_IMAGING_GEOM_UTIL_CYLINDER_MESH_GENERATOR_H
78 const size_t numRadial,
79 const bool closedSweep =
true);
83 const size_t numRadial,
84 const bool closedSweep =
true);
86 template<
typename PointIterType,
92 const size_t numRadial,
93 const ScalarType radius,
97 constexpr ScalarType sweep = 360;
102 height, sweep, framePtr);
105 template<
typename PointIterType,
111 const size_t numRadial,
112 const ScalarType bottomRadius,
113 const ScalarType topRadius,
115 const ScalarType sweepDegrees,
121 _GeneratePointsImpl(numRadial, bottomRadius, topRadius, height,
131 template<
typename Po
intType>
132 static void _GeneratePointsImpl(
133 const size_t numRadial,
134 const typename PointType::ScalarType bottomRadius,
135 const typename PointType::ScalarType topRadius,
136 const typename PointType::ScalarType
height,
137 const typename PointType::ScalarType sweep,
138 const _PointWriter<PointType>& ptWriter);
143 #endif // PXR_IMAGING_GEOM_UTIL_CYLINDER_MESH_GENERATOR_H
static void GeneratePoints(PointIterType iter, const size_t numRadial, const ScalarType bottomRadius, const ScalarType topRadius, const ScalarType height, const ScalarType sweepDegrees, const GfMatrix4d *framePtr=nullptr)
static void GeneratePoints(PointIterType iter, const size_t numRadial, const ScalarType radius, const ScalarType height, const GfMatrix4d *framePtr=nullptr)
static GEOMUTIL_API size_t ComputeNumPoints(const size_t numRadial, const bool closedSweep=true)
GLint GLsizei GLsizei height
static constexpr size_t minNumRadial
static GEOMUTIL_API PxOsdMeshTopology GenerateTopology(const size_t numRadial, const bool closedSweep=true)
static void GeneratePoints(PointIterType iter,...)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE