Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
gte::SurfaceExtractor< Real > Class Template Reference

#include <GteSurfaceExtractor.h>

Inheritance diagram for gte::SurfaceExtractor< Real >:
Inheritance graph
[legend]

Classes

struct  Mesh
 

Public Member Functions

void ComputeNormals (std::vector< Vector3< Real >> const &vertices, std::vector< int > const &indices, std::vector< Vector3< Real >> &normals) const
 
bool Extract (std::array< Real, 8 > const &F, Mesh &mesh) const
 
bool Extract (Real level, std::vector< Vector3< Real >> &vertices, std::vector< int > &indices) const
 
void MakeUnique (std::vector< Vector3< Real >> &vertices, std::vector< int > &indices) const
 
SurfaceExtractor const & operator= (SurfaceExtractor const &)=delete
 
void OrientTriangles (std::vector< Vector3< Real >> const &vertices, std::vector< int > &indices, bool sameDir) const
 
 SurfaceExtractor (Image3< Real > const &image)
 
 SurfaceExtractor ()=delete
 
 SurfaceExtractor (SurfaceExtractor const &)=delete
 
virtual ~SurfaceExtractor ()
 
- Public Member Functions inherited from gte::MarchingCubes
Topology const & GetTable (int entry) const
 
int const * GetTable () const
 
 MarchingCubes ()
 
virtual ~MarchingCubes ()
 

Protected Member Functions

Vector3< Real > GetGradient (Vector3< Real > position) const
 
- Protected Member Functions inherited from gte::MarchingCubes
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

Image3< Real > const & mImage
 
- Protected Attributes inherited from gte::MarchingCubes
int mEntry
 
Topology mTable [256]
 

Additional Inherited Members

- Public Types inherited from gte::MarchingCubes
enum  GTE_IMPEXP { MAX_VERTICES = 12, MAX_TRIANGLES = 5 }
 
- Static Public Member Functions inherited from gte::MarchingCubes
static std::string GetConfigurationType (int entry)
 
- Protected Types inherited from gte::MarchingCubes
typedef void(MarchingCubes::* Function) (int[8])
 
- Static Protected Attributes inherited from gte::MarchingCubes
static Configuration msConfiguration [256]
 
static std::string msConfigurationString [CT_NUM_TYPES]
 

Detailed Description

template<typename Real>
class gte::SurfaceExtractor< Real >

Definition at line 19 of file GteSurfaceExtractor.h.

Constructor & Destructor Documentation

template<typename Real >
gte::SurfaceExtractor< Real >::~SurfaceExtractor ( )
virtual

Definition at line 88 of file GteSurfaceExtractor.h.

template<typename Real >
gte::SurfaceExtractor< Real >::SurfaceExtractor ( Image3< Real > const &  image)

Definition at line 93 of file GteSurfaceExtractor.h.

template<typename Real >
gte::SurfaceExtractor< Real >::SurfaceExtractor ( )
delete
template<typename Real >
gte::SurfaceExtractor< Real >::SurfaceExtractor ( SurfaceExtractor< Real > const &  )
delete

Member Function Documentation

template<typename Real >
void gte::SurfaceExtractor< Real >::ComputeNormals ( std::vector< Vector3< Real >> const &  vertices,
std::vector< int > const &  indices,
std::vector< Vector3< Real >> &  normals 
) const

Definition at line 265 of file GteSurfaceExtractor.h.

template<typename Real >
bool gte::SurfaceExtractor< Real >::Extract ( std::array< Real, 8 > const &  F,
Mesh mesh 
) const

Definition at line 107 of file GteSurfaceExtractor.h.

template<typename Real >
bool gte::SurfaceExtractor< Real >::Extract ( Real  level,
std::vector< Vector3< Real >> &  vertices,
std::vector< int > &  indices 
) const

Definition at line 150 of file GteSurfaceExtractor.h.

template<typename Real >
Vector3< Real > gte::SurfaceExtractor< Real >::GetGradient ( Vector3< Real >  position) const
protected

Definition at line 305 of file GteSurfaceExtractor.h.

template<typename Real >
void gte::SurfaceExtractor< Real >::MakeUnique ( std::vector< Vector3< Real >> &  vertices,
std::vector< int > &  indices 
) const

Definition at line 206 of file GteSurfaceExtractor.h.

template<typename Real >
SurfaceExtractor const& gte::SurfaceExtractor< Real >::operator= ( SurfaceExtractor< Real > const &  )
delete
template<typename Real >
void gte::SurfaceExtractor< Real >::OrientTriangles ( std::vector< Vector3< Real >> const &  vertices,
std::vector< int > &  indices,
bool  sameDir 
) const

Definition at line 216 of file GteSurfaceExtractor.h.

Member Data Documentation

template<typename Real >
Image3<Real> const& gte::SurfaceExtractor< Real >::mImage
protected

Definition at line 84 of file GteSurfaceExtractor.h.


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


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