00001 /*======================================================================= 00002 *** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), *** 00003 *** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. *** 00004 *** *** 00005 *** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS *** 00006 *** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR *** 00007 *** WRITTEN AUTHORIZATION OF FEI S.A.S. *** 00008 *** *** 00009 *** RESTRICTED RIGHTS LEGEND *** 00010 *** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS *** 00011 *** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN *** 00012 *** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT *** 00013 *** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN *** 00014 *** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. *** 00015 *** *** 00016 *** COPYRIGHT (C) 1996-2019 BY FEI S.A.S, *** 00017 *** BORDEAUX, FRANCE *** 00018 *** ALL RIGHTS RESERVED *** 00019 **=======================================================================*/ 00020 /*======================================================================= 00021 ** Author : Delphine Duclap (August 2018) 00022 **=======================================================================*/ 00023 00024 #ifndef _DENTALPANORAMICEXTRACTOR_H_ 00025 #define _DENTALPANORAMICEXTRACTOR_H_ 00026 00027 #include <ImageViz/SbStructuredQuadrilateralMesh.h> 00028 #include <ImageViz/Nodes/Images/SoImageDataAdapter.h> 00029 00030 class DentalPanoramicExtractorImpl; 00031 00067 class DentalPanoramicExtractor 00068 { 00069 public: 00070 00075 DentalPanoramicExtractor( SoImageDataAdapter* inImage ); 00076 00078 ~DentalPanoramicExtractor(); 00079 00083 SoImageDataAdapter* getInputVolume() const; 00084 00089 void setInputVolume( SoImageDataAdapter* inImage ); 00090 00096 uint32_t getSubsamplingFactor() const; 00097 00103 void setSubsamplingFactor( uint32_t ); 00104 00110 bool getAutoThreshold() const; 00111 00117 void setAutoThreshold( bool ); 00118 00122 double getThreshold() const; 00123 00127 void setThreshold( double ); 00128 00133 double getExtrusionUp() const; 00134 00139 void setExtrusionUp( double ); 00140 00145 double getExtrusionDown() const; 00146 00151 void setExtrusionDown( double ); 00152 00157 double getSearchLength() const; 00158 00163 void setSearchLength( double ); 00164 00169 double getVolumeThickness() const; 00170 00175 void setVolumeThickness( double ); 00176 00181 uint32_t getSlabThickness() const; 00182 00187 void setSlabThickness( uint32_t ); 00188 00193 double getSharpeningFactor() const; 00194 00199 void setSharpeningFactor( double ); 00200 00206 void setArchCurve( const std::vector<SbVec3f>& ); 00207 00213 void setArchMesh( SbStructuredQuadrilateralMesh* ); 00214 00220 std::vector<SbVec3f> getArchCurve(); 00221 00228 std::vector<SbVec3f> getInsideArchCurve(); 00229 00236 std::vector<SbVec3f> getOutsideArchCurve(); 00237 00243 SbStructuredQuadrilateralMesh* getArchMesh(); 00244 00251 SoImageDataAdapter* getPanoramicVolume(); 00252 00258 SoImageDataAdapter* getPanoramicImage(); 00259 00260 private: 00261 00262 DentalPanoramicExtractorImpl* m_p; 00263 00264 }; 00265 00266 #endif // _DENTALPANORAMICEXTRACTOR_H_ 00267 00268