GBParticle.h 737 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #include "OTSFieldData.h"
  3. #include "CGBLevel.h"
  4. #include <set>
  5. namespace OTSGBCalculate
  6. {
  7. using namespace std;
  8. using namespace OTSDATA;
  9. class __declspec(dllexport) GBParticle
  10. {
  11. public:
  12. GBParticle()
  13. {
  14. }
  15. static GB_CHEMICAL_TYPE IdentifyPartChemicalType(COTSParticlePtr Particle);
  16. int GetFieldId();
  17. CString GetParticleId();
  18. GB_WIDTH_TYPE CaculateLevelWidth( GB_CLASSIFY_TYPE a_nLevel);
  19. double GetDMax();
  20. double GetFeretDiameter();
  21. double GetActualArea();
  22. GB_CLASSIFY_TYPE myType;
  23. GB_WIDTH_TYPE myWidth;
  24. COTSParticleList myOTSParts;
  25. };
  26. typedef std::shared_ptr<GBParticle> __declspec(dllexport) CGBParticlePtr;
  27. typedef std::vector<CGBParticlePtr> __declspec(dllexport) CGBParticleList;
  28. }