#include <vhacdVolume.h>

Public Member Functions | |
| bool | Add (Tetrahedron &tetrahedron) |
| void | AlignToPrincipalAxes () |
| void | Clip (const Plane &plane, PrimitiveSet *const positivePart, PrimitiveSet *const negativePart) const |
| void | ComputeBB () |
| void | ComputeClippedVolumes (const Plane &plane, double &positiveVolume, double &negativeVolume) const |
| void | ComputeConvexHull (Mesh &meshCH, const size_t sampling=1) const |
| void | ComputeExteriorPoints (const Plane &plane, const Mesh &mesh, SArray< Vec3< double > > *const exteriorPts) const |
| const double | ComputeMaxVolumeError () const |
| void | ComputePrincipalAxes () |
| const double | ComputeVolume () const |
| void | Convert (Mesh &mesh, const VOXEL_VALUE value) const |
| PrimitiveSet * | Create () const |
| const Vec3< double > & | GetBarycenter () const |
| const double | GetEigenValue (AXIS axis) const |
| const Vec3< double > & | GetMaxBB () const |
| const Vec3< double > & | GetMinBB () const |
| const size_t | GetNPrimitives () const |
| const size_t | GetNPrimitivesInsideSurf () const |
| const size_t | GetNPrimitivesOnSurf () const |
| const double | GetSacle () const |
| void | Intersect (const Plane &plane, SArray< Vec3< double > > *const positivePts, SArray< Vec3< double > > *const negativePts, const size_t sampling) const |
| void | RevertAlignToPrincipalAxes () |
| void | SelectOnSurface (PrimitiveSet *const onSurfP) const |
| TetrahedronSet () | |
| Constructor. | |
| ~TetrahedronSet (void) | |
| Destructor. | |
Static Public Attributes | |
| static const double | EPS |
Friends | |
| class | Volume |
| VHACD::TetrahedronSet::~TetrahedronSet | ( | void | ) |
Destructor.
| VHACD::TetrahedronSet::TetrahedronSet | ( | ) |
Constructor.
| bool VHACD::TetrahedronSet::Add | ( | Tetrahedron & | tetrahedron | ) | [inline] |
| void VHACD::TetrahedronSet::AlignToPrincipalAxes | ( | ) | [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::Clip | ( | const Plane & | plane, | |
| PrimitiveSet *const | positivePart, | |||
| PrimitiveSet *const | negativePart | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::ComputeBB | ( | ) | [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::ComputeClippedVolumes | ( | const Plane & | plane, | |
| double & | positiveVolume, | |||
| double & | negativeVolume | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::ComputeConvexHull | ( | Mesh & | meshCH, | |
| const size_t | sampling = 1 | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::ComputeExteriorPoints | ( | const Plane & | plane, | |
| const Mesh & | mesh, | |||
| SArray< Vec3< double > > *const | exteriorPts | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| const double VHACD::TetrahedronSet::ComputeMaxVolumeError | ( | ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::ComputePrincipalAxes | ( | ) | [virtual] |
Implements VHACD::PrimitiveSet.
| const double VHACD::TetrahedronSet::ComputeVolume | ( | ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::Convert | ( | Mesh & | mesh, | |
| const VOXEL_VALUE | value | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| PrimitiveSet* VHACD::TetrahedronSet::Create | ( | ) | const [inline, virtual] |
Implements VHACD::PrimitiveSet.
| const Vec3<double>& VHACD::TetrahedronSet::GetBarycenter | ( | ) | const [inline] |
| const double VHACD::TetrahedronSet::GetEigenValue | ( | AXIS | axis | ) | const [inline, virtual] |
Implements VHACD::PrimitiveSet.
| const Vec3<double>& VHACD::TetrahedronSet::GetMaxBB | ( | ) | const [inline] |
| const Vec3<double>& VHACD::TetrahedronSet::GetMinBB | ( | ) | const [inline] |
| const size_t VHACD::TetrahedronSet::GetNPrimitives | ( | ) | const [inline, virtual] |
Implements VHACD::PrimitiveSet.
| const size_t VHACD::TetrahedronSet::GetNPrimitivesInsideSurf | ( | ) | const [inline, virtual] |
Implements VHACD::PrimitiveSet.
| const size_t VHACD::TetrahedronSet::GetNPrimitivesOnSurf | ( | ) | const [inline, virtual] |
Implements VHACD::PrimitiveSet.
| const double VHACD::TetrahedronSet::GetSacle | ( | ) | const [inline] |
| void VHACD::TetrahedronSet::Intersect | ( | const Plane & | plane, | |
| SArray< Vec3< double > > *const | positivePts, | |||
| SArray< Vec3< double > > *const | negativePts, | |||
| const size_t | sampling | |||
| ) | const [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::RevertAlignToPrincipalAxes | ( | ) | [virtual] |
Implements VHACD::PrimitiveSet.
| void VHACD::TetrahedronSet::SelectOnSurface | ( | PrimitiveSet *const | onSurfP | ) | const [virtual] |
Implements VHACD::PrimitiveSet.
friend class Volume [friend] |
const double VHACD::TetrahedronSet::EPS [static] |