Basic Shape Creation and Rendering  2.0
Tools to create and render common shapes like blocks, cylinders, cones, and spheres
BasicShape Member List

This is the complete list of members for BasicShape, including all inherited members.

CAP_AT_BOTH enum value (defined in BasicShape)BasicShape
CAP_AT_BOTTOM enum value (defined in BasicShape)BasicShape
CAP_AT_NEITHER enum value (defined in BasicShape)BasicShape
CAP_AT_TOP enum value (defined in BasicShape)BasicShape
Caps enum nameBasicShape
getAlwaysGeneratePerVertexNormals()BasicShapeinlinestatic
getDrawArraysData(int i, GLenum &mode, int &thisStartsFace, int &offset, bool &canUsePerVertexTexCoords, bool &canUseNormalArray, cryph::AffVector &fixedN) constBasicShape
getIndexList(int i, GLenum &mode, int &thisStartsFace, int &nInList, GLenum &type, bool &canUsePerVertexTexCoords, bool &canUsePerVertexNormals, cryph::AffVector &fixedNormal) constBasicShape
getMCBoundingBox(double *xyzLimits) constBasicShape
getNormals() constBasicShapeinline
getNumDrawArraysCalls() constBasicShapeinline
getNumIndexLists() constBasicShapeinline
getNumPoints() constBasicShapeinline
getPointCoords() constBasicShapeinline
getTextureCoords() constBasicShapeinline
makeBlock(const cryph::AffPoint &llCorner, const cryph::AffVector &uEdge, double uLength, const cryph::AffVector &vEdge, double vLength, const cryph::AffVector &wEdge, double wLength)BasicShapestatic
makeBoundedCone(const cryph::AffPoint &Pbottom, const cryph::AffPoint &Ptop, double radiusAtBottom, double radiusAtTop, int nPointsAroundSide=10, int nPointsAlongAxis=2, Caps capSpec=CAP_AT_BOTH, double sMin=0, double sMax=0, double tMin=0, double tMax=0, const cryph::AffVector &sZero=cryph::AffVector::xu)BasicShapestatic
makeBoundedCylinder(const cryph::AffPoint &Pbottom, const cryph::AffPoint &Ptop, double radius, int nPointsAroundSide=10, int nPointsAlongAxis=2, Caps capSpec=CAP_AT_BOTH, double sMin=0, double sMax=0, double tMin=0, double tMax=0, const cryph::AffVector &sZero=cryph::AffVector::xu)BasicShapestatic
makeSphere(const cryph::AffPoint &center, double radius, int nPointsAroundSide=15, int nPointsAlongAxis=15, double sMin=0, double sMax=0, double tMin=0, double tMax=0, const cryph::AffVector &upAxis=cryph::AffVector::yu, const cryph::AffVector &sZero=cryph::AffVector::xu)BasicShapestatic
makeTorus(const cryph::AffPoint &center, const cryph::AffVector &u, const cryph::AffVector &v, double rMajor, double rMinor, double thetaMinDegrees=0.0, double thetaMaxDegrees=360.0, double phiMinDegrees=0, double phiMaxDegrees=360.0, int nPointsInThetaDirection=60, int nPointsInPhiDirection=40, double sMin=0, double sMax=0, double tMin=0, double tMax=0)BasicShapestatic
setAlwaysGeneratePerVertexNormals(bool b)BasicShapestatic
~BasicShape()BasicShapevirtual