Basic Shape Creation and Rendering
2.0
Tools to create and render common shapes like blocks, cylinders, cones, and spheres
|
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 name | BasicShape | |
getAlwaysGeneratePerVertexNormals() | BasicShape | inlinestatic |
getDrawArraysData(int i, GLenum &mode, int &thisStartsFace, int &offset, bool &canUsePerVertexTexCoords, bool &canUseNormalArray, cryph::AffVector &fixedN) const | BasicShape | |
getIndexList(int i, GLenum &mode, int &thisStartsFace, int &nInList, GLenum &type, bool &canUsePerVertexTexCoords, bool &canUsePerVertexNormals, cryph::AffVector &fixedNormal) const | BasicShape | |
getMCBoundingBox(double *xyzLimits) const | BasicShape | |
getNormals() const | BasicShape | inline |
getNumDrawArraysCalls() const | BasicShape | inline |
getNumIndexLists() const | BasicShape | inline |
getNumPoints() const | BasicShape | inline |
getPointCoords() const | BasicShape | inline |
getTextureCoords() const | BasicShape | inline |
makeBlock(const cryph::AffPoint &llCorner, const cryph::AffVector &uEdge, double uLength, const cryph::AffVector &vEdge, double vLength, const cryph::AffVector &wEdge, double wLength) | BasicShape | static |
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) | BasicShape | static |
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) | BasicShape | static |
makeSphere(const cryph::AffPoint ¢er, 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) | BasicShape | static |
makeTorus(const cryph::AffPoint ¢er, 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) | BasicShape | static |
setAlwaysGeneratePerVertexNormals(bool b) | BasicShape | static |
~BasicShape() | BasicShape | virtual |