24 #ifndef PXR_IMAGING_GEOM_UTIL_CONE_MESH_GENERATOR_H
25 #define PXR_IMAGING_GEOM_UTIL_CONE_MESH_GENERATOR_H
73 const size_t numRadial,
74 const bool closedSweep =
true);
78 const size_t numRadial,
79 const bool closedSweep =
true);
81 template<
typename PointIterType,
87 const size_t numRadial,
88 const ScalarType radius,
92 constexpr ScalarType sweep = 360;
96 template<
typename PointIterType,
102 const size_t numRadial,
103 const ScalarType radius,
105 const ScalarType sweepDegrees,
111 _GeneratePointsImpl(numRadial, radius, height, sweepDegrees,
120 template<
typename Po
intType>
121 static void _GeneratePointsImpl(
122 const size_t numRadial,
123 const typename PointType::ScalarType radius,
124 const typename PointType::ScalarType
height,
125 const typename PointType::ScalarType sweepDegrees,
126 const _PointWriter<PointType>& ptWriter);
131 #endif // PXR_IMAGING_GEOM_UTIL_CONE_MESH_GENERATOR_H
static void GeneratePoints(PointIterType iter, const size_t numRadial, const ScalarType radius, const ScalarType height, const ScalarType sweepDegrees, const GfMatrix4d *framePtr=nullptr)
static constexpr size_t minNumRadial
GLint GLsizei GLsizei height
static void GeneratePoints(PointIterType iter, const size_t numRadial, const ScalarType radius, const ScalarType height, const GfMatrix4d *framePtr=nullptr)
static void GeneratePoints(PointIterType iter,...)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
static GEOMUTIL_API size_t ComputeNumPoints(const size_t numRadial, const bool closedSweep=true)
#define PXR_NAMESPACE_CLOSE_SCOPE
static GEOMUTIL_API PxOsdMeshTopology GenerateTopology(const size_t numRadial, const bool closedSweep=true)