Moka libraries
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GMap3d Namespace Reference

Classes

class  CBooleanOperations2d
 
class  CCorefine2dPropagation
 
class  CCorefineSegmentsSweeping
 
class  CDartCompare
 
class  CDartLexicoCompare
 
class  CDartVertexerticalCompare
 
class  CDartAngularCompare
 
class  CIntersection
 
class  CDartLinearCompare
 
class  CBooleanOperations3d
 
struct  SCorefFace
 
class  CCorefine3dFF
 
class  CCorefine3d
 
class  CIntersectionPoint
 
class  CIntersectionPointComparator
 
class  CAngularFaceComparator
 
class  CBooleanOperations
 
class  CCorefine2dTools
 
class  CCorefine3dTools
 
class  CCorefine
 
class  CEdgeIntersection
 
class  CImage3dCEA
 
class  CImage3dMagick
 
class  CImage3d
 
class  CHomology
 
class  CMeshGeneric
 
class  CMesh
 
class  CMeshVertex
 
class  CRoundingGeneric
 
class  CRoundingInterface
 
class  CRoundingVertex
 
class  Analytic_View
 
class  Euclidian_View
 
class  K2_View
 
class  Topologic_View
 
class  Voxel_View
 
class  CSpamodAPI
 

Typedefs

typedef CIntersectionPoint TInterPt
 
typedef
CIntersectionPointComparator 
TInterPtCmp
 
typedef std::set< TInterPt
*, TInterPtCmp
TInterPtSet
 
typedef std::multiset< CDart
*, CAngularFaceComparator
TFaceSet
 
typedef std::list< SCorefFaceTCorefFaceList
 
typedef CGrid3d< std::pair
< std::list< CDart * >
, std::list< CDart * > > > 
TCorefFaceGrid
 
typedef CGrid3dIterator
< std::pair< std::list< CDart * >
, std::list< CDart * > > > 
TCorefFaceGridIter
 
typedef CGridTree3d< std::list
< CDart * > * > 
TFaceGrid
 
typedef CGridTree3dIterator
< std::list< CDart * > * > 
TFaceGridIter
 
typedef int TSpamodViewMode
 

Enumerations

enum  TPositionInFace { FP_Outside, FP_Inside, FP_OnBorder, FP_OnReversedBorder }
 
enum  TPositionOnEdge { EP_OnFirstVertex, EP_OnSecondVertex, EP_OnEdge, EP_OutOfEdge }
 Les différentes position de l'intersection sur l'arête. More...
 
enum  {
  SPAMOD_NONE = -1, SPAMOD_TOPOLOGICAL, SPAMOD_EUCLIDIAN, SPAMOD_ANALYTIC,
  SPAMOD_VOXEL, SPAMOD_K2
}
 

Functions

ostream & operator<< (ostream &AStream, TPositionInFace APos)
 
std::ostream & operator<< (std::ostream &AStream, TPositionInFace APos)
 
std::ostream & operator<< (std::ostream &AStream, TPositionOnEdge APos)
 
std::ostream & operator<< (std::ostream &AStream, const CEdgeIntersection &AInter)
 
CVertex Calculate_Center (CGMap *G)
 
void Init_Gmap (CGMap *G)
 
CAttribute * Find_Attribute (CGMap *G, TOrbit o, TAttributeId typeAttr)
 
void Create_Vertex_Ineq (CGMap *G, CDart *dgm, int markVertex)
 
void Create_Edges_Ineq (CGMap *G, CDart *dgm, int markEdge)
 
void Create_Face_Ineq (CGMap *G, CDart *dgm, int markFace)
 
void Create_Ineq (CGMap *G)
 
void Calculate_Bounding_Box (CGMap *G, CDart *d, TOrbit o, float minMaxXyz[6])
 
void Ineq_Vertex_Set_Unused (CGMap *G, CDart *d, TOrbit o, float minMaxXyz[6])
 
void Compare_Ineq_Vertex (CGMap *G, CDart *d, int markVertex)
 
void Compare_Ineq_Edge (CGMap *G, CDart *d, int markEdge)
 
void Choose_Ineq (CGMap *G)
 

Detailed Description

Classe définissant éfinissant les opérations booléennes entre deux objets 3D

Author
Nicolas Guiard

Cette classe permet de lire une image 3d au format ascii du CEA.

Format du fichier :

<fic> = <voxel>* <voxel> = <X> <Y> <Z> <couleur>

<X> = entier signé <Y> = entier signé <Z> = entier signé <couleur> = entier non signé (supposé strictement inférieur à 256)

L'image est décrite plan par plan (<Z> fixe), chaque plan est décrit ligne par ligne (<Y> fixe), chaque ligne est décrite voxel par voxel.

Cette classe permet de lire une image 3d (représentée par un ensemble de d'images 2d correspondant à des coupes) en utilisant Image Magick.

Typedef Documentation

typedef CGrid3d< std::pair< std::list<CDart*>, std::list<CDart*> > > GMap3d::TCorefFaceGrid

Definition at line 55 of file corefine-3d-face-face.hh.

typedef CGrid3dIterator< std::pair< std::list<CDart*>, std::list<CDart*> > > GMap3d::TCorefFaceGridIter

Definition at line 57 of file corefine-3d-face-face.hh.

typedef std::list<SCorefFace> GMap3d::TCorefFaceList

Definition at line 52 of file corefine-3d-face-face.hh.

typedef CGridTree3d<std::list<CDart*>*> GMap3d::TFaceGrid

Definition at line 38 of file corefine-3d.hh.

typedef CGridTree3dIterator<std::list<CDart*>*> GMap3d::TFaceGridIter

Definition at line 39 of file corefine-3d.hh.

typedef std::multiset<CDart*, CAngularFaceComparator> GMap3d::TFaceSet

Definition at line 40 of file corefine-3d-face-face.hh.

Definition at line 36 of file corefine-3d-face-face.hh.

Definition at line 38 of file corefine-3d-face-face.hh.

Definition at line 33 of file spamod-types.hh.

Enumeration Type Documentation

anonymous enum
Enumerator:
SPAMOD_NONE 
SPAMOD_TOPOLOGICAL 
SPAMOD_EUCLIDIAN 
SPAMOD_ANALYTIC 
SPAMOD_VOXEL 
SPAMOD_K2 

Definition at line 35 of file spamod-types.hh.

Enumerator:
FP_Outside 
FP_Inside 
FP_OnBorder 
FP_OnReversedBorder 

Definition at line 35 of file face-intersection-tools.hh.

Les différentes position de l'intersection sur l'arête.

Enumerator:
EP_OnFirstVertex 
EP_OnSecondVertex 
EP_OnEdge 
EP_OutOfEdge 

Definition at line 35 of file edge-intersection.hh.

Function Documentation

void GMap3d::Calculate_Bounding_Box ( CGMap *  G,
CDart *  d,
TOrbit  o,
float  minMaxXyz[6] 
)

Definition at line 214 of file ineq-op.cc.

CVertex GMap3d::Calculate_Center ( CGMap *  G)

Definition at line 54 of file gmap-ops.cc.

void GMap3d::Choose_Ineq ( CGMap *  G)

Definition at line 564 of file ineq-op.cc.

void GMap3d::Compare_Ineq_Edge ( CGMap *  G,
CDart *  d,
int  markEdge 
)

Definition at line 463 of file ineq-op.cc.

void GMap3d::Compare_Ineq_Vertex ( CGMap *  G,
CDart *  d,
int  markVertex 
)

Definition at line 412 of file ineq-op.cc.

void GMap3d::Create_Edges_Ineq ( CGMap *  G,
CDart *  dgm,
int  markEdge 
)

Definition at line 76 of file ineq-op.cc.

void GMap3d::Create_Face_Ineq ( CGMap *  G,
CDart *  dgm,
int  markFace 
)

Definition at line 121 of file ineq-op.cc.

void GMap3d::Create_Ineq ( CGMap *  G)

Definition at line 165 of file ineq-op.cc.

void GMap3d::Create_Vertex_Ineq ( CGMap *  G,
CDart *  dgm,
int  markVertex 
)

Definition at line 51 of file ineq-op.cc.

CAttribute * GMap3d::Find_Attribute ( CGMap *  G,
TOrbit  o,
TAttributeId  typeAttr 
)

Definition at line 229 of file gmap-ops.cc.

void GMap3d::Ineq_Vertex_Set_Unused ( CGMap *  G,
CDart *  d,
TOrbit  o,
float  minMaxXyz[6] 
)

Definition at line 350 of file ineq-op.cc.

void GMap3d::Init_Gmap ( CGMap *  G)

Definition at line 132 of file gmap-ops.cc.

ostream& GMap3d::operator<< ( ostream &  AStream,
TPositionInFace  APos 
)

Definition at line 32 of file face-intersection-tools.cc.

std::ostream& GMap3d::operator<< ( std::ostream &  AStream,
TPositionInFace  APos 
)
std::ostream& GMap3d::operator<< ( std::ostream &  AStream,
TPositionOnEdge  APos 
)

opérateur d'affichage

Parameters
AStreamLe flux dans lequel écrire
APosLa valeur à écrire
Returns
Le flux modifié

Ceci permet de définir le format d'affichage pour le type énuméré TPositionOnEdge.

std::ostream& GMap3d::operator<< ( std::ostream &  AStream,
const CEdgeIntersection &  AInter 
)