Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

MESH_SFIndirectEdge.h

Go to the documentation of this file.
00001 
00002 //                            MESH_SFIndirectEdge.h                           //
00004 
00005 #ifndef TEMPLATEINDIRECTEDGE_H
00006 #define TEMPLATEINDIRECTEDGE_H
00007 
00008 #include "MESH_SFEdge.h"
00009 
00010 namespace X3DTK {
00011 namespace MESH {
00012 
00014 
00015 template<class EData, class FData, class VData>
00016 class SFIndirectEdge : public SFEdge<EData, FData, VData>
00017 {
00018   template<class A, class B, class C, class D> friend class Mesh;
00019 public:
00021   SFVertex<VData, EData, FData> *getFromVertex() const;
00023   SFVertex<VData, EData, FData> *getToVertex() const;
00025   const MFFace<FData, VData, EData> &getLeftFaces() const;
00027   const MFFace<FData, VData, EData> &getRightFaces() const;
00028   
00029 private:  
00031   SFIndirectEdge(SFEdgeContent<EData, FData, VData> *const edgeContent);
00033   ~SFIndirectEdge();
00034 
00036   void addLeftFace(SFFace<FData, VData, EData> *face);
00038   void addRightFace(SFFace<FData, VData, EData> *face);
00039 };
00040 
00041 }
00042 }
00043 
00044 #include "MESH_SFIndirectEdge.inl"
00045 
00046 #endif

Generated on Mon Jan 19 10:32:05 2004 for X3DToolKit by doxygen1.2.18