mdsTriMeshTriangleSplitting.h

Go to the documentation of this file.
00001 //==============================================================================
00018 #ifndef MDS_TRIMESHTRIANGLESPLITTING_H
00019 #define MDS_TRIMESHTRIANGLESPLITTING_H
00020 
00021 // MDSTk
00022 #include <MDSTk/Base/mdsSetup.h>
00023 #include <MDSTk/Module/mdsModule.h>
00024 #include <MDSTk/System/mdsEvent.h>
00025 #include <MDSTk/Image/mdsSlice.h>
00026 
00027 // MDSTk Extensions
00028 #include <MDSTk/VectorSegmentation/mdsTriMesh.h>
00029 
00030 
00031 //==============================================================================
00036 class CTriMeshTriangleSplitting : public mds::mod::CModule
00037 {
00038 public:
00041     MDS_SHAREDPTR(CTriMeshTriangleSplitting);
00042 
00043 public:
00045     CTriMeshTriangleSplitting(const std::string& sDescription);
00046 
00048     virtual ~CTriMeshTriangleSplitting();
00049 
00050 protected:
00052     virtual bool startup();
00053 
00055     virtual bool main();
00056 
00058     virtual void shutdown();
00059 
00061     virtual void writeExtendedUsage(std::ostream& Stream);
00062 
00063 protected:
00065     mds::seg::CTriMeshPtr m_spMesh;
00066 
00068     mds::img::CSlicePtr m_spSlice, m_spEdgeSlice;
00069 
00071     double m_dMinLength, m_dHomogeneityThreshold, m_dRho;
00072 };
00073 
00074 
00075 //==============================================================================
00079 typedef CTriMeshTriangleSplitting::tSmartPtr    CTriMeshTriangleSplittingPtr;
00080 
00081 
00082 #endif // MDS_TRIMESHTRIANGLESPLITTING_H
00083 

Generated on Thu Mar 11 10:38:12 2010 for MDSTk Extension Modules by  doxygen 1.4.6-NO