Classes | Public Types | Public Member Functions | Static Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
gte::MarchingCubes Class Reference

#include <GteMarchingCubes.h>

Inheritance diagram for gte::MarchingCubes:
Inheritance graph
[legend]

Classes

struct  Configuration
 
struct  Topology
 

Public Types

enum  GTE_IMPEXP { MAX_VERTICES = 12, MAX_TRIANGLES = 5 }
 

Public Member Functions

Topology const & GetTable (int entry) const
 
int const * GetTable () const
 
 MarchingCubes ()
 
virtual ~MarchingCubes ()
 

Static Public Member Functions

static std::string GetConfigurationType (int entry)
 

Protected Types

typedef void(MarchingCubes::* Function) (int[8])
 

Protected Member Functions

void Bits0 (int index[8])
 
void Bits1 (int index[8])
 
void Bits2BoxDiag (int index[8])
 
void Bits2Edge (int index[8])
 
void Bits2FaceDiag (int index[8])
 
void Bits3EdgeFaceDiag (int index[8])
 
void Bits3FaceDiagFaceDiag (int index[8])
 
void Bits3SameFace (int index[8])
 
void Bits4EdgeEdgePara (int index[8])
 
void Bits4EdgeEdgePerp (int index[8])
 
void Bits4FaceBoxDiag (int index[8])
 
void Bits4FaceEdge (int index[8])
 
void Bits4FaceFaceDiagL (int index[8])
 
void Bits4FaceFaceDiagR (int index[8])
 
void Bits4SameFace (int index[8])
 
void Bits5EdgeFaceDiag (int index[8])
 
void Bits5FaceDiagFaceDiag (int index[8])
 
void Bits5SameFace (int index[8])
 
void Bits6BoxDiag (int index[8])
 
void Bits6Edge (int index[8])
 
void Bits6FaceDiag (int index[8])
 
void Bits7 (int index[8])
 
void SetTable (int numV, int const *vpair, int numT, int const *itriple)
 

Protected Attributes

int mEntry
 
Topology mTable [256]
 

Static Protected Attributes

static Configuration msConfiguration [256]
 
static std::string msConfigurationString [CT_NUM_TYPES]
 

Detailed Description

Definition at line 31 of file GteMarchingCubes.h.

Member Typedef Documentation

typedef void(MarchingCubes::* gte::MarchingCubes::Function) (int[8])
protected

Definition at line 132 of file GteMarchingCubes.h.

Member Enumeration Documentation

Enumerator
MAX_VERTICES 
MAX_TRIANGLES 

Definition at line 38 of file GteMarchingCubes.h.

Constructor & Destructor Documentation

MarchingCubes::~MarchingCubes ( )
virtual

Definition at line 14 of file GteMarchingCubes.cpp.

MarchingCubes::MarchingCubes ( )

Definition at line 18 of file GteMarchingCubes.cpp.

Member Function Documentation

void MarchingCubes::Bits0 ( int  index[8])
protected

Definition at line 57 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits1 ( int  index[8])
protected

Definition at line 62 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits2BoxDiag ( int  index[8])
protected

Definition at line 192 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits2Edge ( int  index[8])
protected

Definition at line 100 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits2FaceDiag ( int  index[8])
protected

Definition at line 142 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits3EdgeFaceDiag ( int  index[8])
protected

Definition at line 284 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits3FaceDiagFaceDiag ( int  index[8])
protected

Definition at line 338 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits3SameFace ( int  index[8])
protected

Definition at line 238 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4EdgeEdgePara ( int  index[8])
protected

Definition at line 519 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4EdgeEdgePerp ( int  index[8])
protected

Definition at line 546 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4FaceBoxDiag ( int  index[8])
protected

Definition at line 492 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4FaceEdge ( int  index[8])
protected

Definition at line 417 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4FaceFaceDiagL ( int  index[8])
protected

Definition at line 442 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4FaceFaceDiagR ( int  index[8])
protected

Definition at line 467 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits4SameFace ( int  index[8])
protected

Definition at line 396 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits5EdgeFaceDiag ( int  index[8])
protected

Definition at line 309 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits5FaceDiagFaceDiag ( int  index[8])
protected

Definition at line 365 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits5SameFace ( int  index[8])
protected

Definition at line 261 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits6BoxDiag ( int  index[8])
protected

Definition at line 215 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits6Edge ( int  index[8])
protected

Definition at line 121 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits6FaceDiag ( int  index[8])
protected

Definition at line 165 of file GteMarchingCubes.cpp.

void MarchingCubes::Bits7 ( int  index[8])
protected

Definition at line 81 of file GteMarchingCubes.cpp.

std::string MarchingCubes::GetConfigurationType ( int  entry)
static

Definition at line 27 of file GteMarchingCubes.cpp.

MarchingCubes::Topology const & gte::MarchingCubes::GetTable ( int  entry) const
inline

Definition at line 145 of file GteMarchingCubes.h.

int const * gte::MarchingCubes::GetTable ( ) const
inline

Definition at line 150 of file GteMarchingCubes.h.

void MarchingCubes::SetTable ( int  numV,
int const *  vpair,
int  numT,
int const *  itriple 
)
protected

Definition at line 36 of file GteMarchingCubes.cpp.

Member Data Documentation

int gte::MarchingCubes::mEntry
protected

Definition at line 77 of file GteMarchingCubes.h.

MarchingCubes::Configuration MarchingCubes::msConfiguration
staticprotected

Definition at line 141 of file GteMarchingCubes.h.

std::string MarchingCubes::msConfigurationString
staticprotected
Initial value:
=
{
"Bits0",
"Bits1",
"Bits7",
"Bits2Edge",
"Bits6Edge",
"Bits2FaceDiag",
"Bits6FaceDiag",
"Bits2BoxDiag",
"Bits6BoxDiag",
"Bits3SameFace",
"Bits5SameFace",
"Bits3EdgeFaceDiag",
"Bits5EdgeFaceDiag",
"Bits3FaceDiagFaceDiag",
"Bits5FaceDiagFaceDiag",
"Bits4SameFace",
"Bits4FaceEdge",
"Bits4FaceFaceDiagL",
"Bits4FaceFaceDiagR",
"Bits4FaceBoxDiag",
"Bits4EdgeEdgePara",
"Bits4EdgeEdgePerp"
}

Definition at line 142 of file GteMarchingCubes.h.

Topology gte::MarchingCubes::mTable[256]
protected

Definition at line 72 of file GteMarchingCubes.h.


The documentation for this class was generated from the following files:


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06