#include <MeshGenerator.h>
|
| MeshGenerator () |
|
| MeshGenerator (const MeshGenerator &org) |
|
| ~MeshGenerator () |
|
void | setDivisionNumber (int n) |
|
int | divisionNumber () const |
|
void | setExtraDivisionNumber (int n, int mode=SgMesh::ExtraDivisionPreferred) |
|
int | extraDivisionNumber () const |
|
int | extraDivisionMode () const |
|
void | setNormalGenerationEnabled (bool on) |
|
void | enableNormalGeneration (bool on) |
|
bool | isNormalGenerationEnabled () const |
|
void | setBoundingBoxUpdateEnabled (bool on) |
|
bool | isBoundingBoxUpdateEnabled () const |
|
bool | updateMeshWithPrimitiveInformation (SgMesh *mesh, int options=NoOption) |
|
SgMesh * | generateBox (const Vector3 &size, int options=NoOption) |
|
SgMesh * | generateSphere (double radius, int options=NoOption) |
|
SgMesh * | generateCylinder (double radius, double height, int options=NoOption) |
|
SgMesh * | generateCone (double radius, double height, int options=NoOption) |
|
SgMesh * | generateCapsule (double radius, double height) |
|
SgMesh * | generateDisc (double radius, double innerRadius) |
|
SgMesh * | generateArrow (double cylinderRadius, double cylinderHeight, double coneRadius, double coneHeight) |
|
SgMesh * | generateTorus (double radius, double crossSectionRadius) |
|
SgMesh * | generateTorus (double radius, double crossSectionRadius, double beginAngle, double endAngle) |
|
SgMesh * | generateExtrusion (const Extrusion &extrusion, int meshOptions=NoOption) |
|
SgLineSet * | generateExtrusionLineSet (const Extrusion &extrusion, SgMesh *mesh) |
|
SgMesh * | generateElevationGrid (const ElevationGrid &elevationGrid, int meshOptions=NoOption) |
|
void | generateTextureCoordinateForIndexedFaceSet (SgMeshBase *mesh) |
|
◆ AngleAxisArray
◆ Vector2Array
◆ Vector3Array
◆ MeshOption
Enumerator |
---|
NoOption | |
TextureCoordinate | |
◆ MeshGenerator() [1/2]
MeshGenerator::MeshGenerator |
( |
| ) |
|
◆ MeshGenerator() [2/2]
◆ ~MeshGenerator()
MeshGenerator::~MeshGenerator |
( |
| ) |
|
◆ defaultDivisionNumber()
int MeshGenerator::defaultDivisionNumber |
( |
| ) |
|
|
static |
◆ divisionNumber()
int cnoid::MeshGenerator::divisionNumber |
( |
| ) |
const |
|
inline |
◆ enableNormalGeneration()
void MeshGenerator::enableNormalGeneration |
( |
bool |
on | ) |
|
◆ extraDivisionMode()
int cnoid::MeshGenerator::extraDivisionMode |
( |
| ) |
const |
|
inline |
◆ extraDivisionNumber()
int cnoid::MeshGenerator::extraDivisionNumber |
( |
| ) |
const |
|
inline |
◆ generateArrow()
SgMesh * MeshGenerator::generateArrow |
( |
double |
cylinderRadius, |
|
|
double |
cylinderHeight, |
|
|
double |
coneRadius, |
|
|
double |
coneHeight |
|
) |
| |
◆ generateBox()
◆ generateCapsule()
SgMesh * MeshGenerator::generateCapsule |
( |
double |
radius, |
|
|
double |
height |
|
) |
| |
◆ generateCone()
SgMesh * MeshGenerator::generateCone |
( |
double |
radius, |
|
|
double |
height, |
|
|
int |
options = NoOption |
|
) |
| |
◆ generateCylinder()
SgMesh * MeshGenerator::generateCylinder |
( |
double |
radius, |
|
|
double |
height, |
|
|
int |
options = NoOption |
|
) |
| |
◆ generateDisc()
SgMesh * MeshGenerator::generateDisc |
( |
double |
radius, |
|
|
double |
innerRadius |
|
) |
| |
◆ generateElevationGrid()
◆ generateExtrusion()
◆ generateExtrusionLineSet()
◆ generateSphere()
SgMesh * MeshGenerator::generateSphere |
( |
double |
radius, |
|
|
int |
options = NoOption |
|
) |
| |
◆ generateTextureCoordinateForIndexedFaceSet()
void MeshGenerator::generateTextureCoordinateForIndexedFaceSet |
( |
SgMeshBase * |
mesh | ) |
|
◆ generateTorus() [1/2]
SgMesh * MeshGenerator::generateTorus |
( |
double |
radius, |
|
|
double |
crossSectionRadius |
|
) |
| |
◆ generateTorus() [2/2]
SgMesh * MeshGenerator::generateTorus |
( |
double |
radius, |
|
|
double |
crossSectionRadius, |
|
|
double |
beginAngle, |
|
|
double |
endAngle |
|
) |
| |
◆ isBoundingBoxUpdateEnabled()
bool MeshGenerator::isBoundingBoxUpdateEnabled |
( |
| ) |
const |
◆ isNormalGenerationEnabled()
bool MeshGenerator::isNormalGenerationEnabled |
( |
| ) |
const |
◆ setBoundingBoxUpdateEnabled()
void MeshGenerator::setBoundingBoxUpdateEnabled |
( |
bool |
on | ) |
|
◆ setDivisionNumber()
void MeshGenerator::setDivisionNumber |
( |
int |
n | ) |
|
◆ setExtraDivisionNumber()
◆ setNormalGenerationEnabled()
void MeshGenerator::setNormalGenerationEnabled |
( |
bool |
on | ) |
|
◆ updateMeshWithPrimitiveInformation()
bool MeshGenerator::updateMeshWithPrimitiveInformation |
( |
SgMesh * |
mesh, |
|
|
int |
options = NoOption |
|
) |
| |
The documentation for this class was generated from the following files: