19 #ifndef SAMANTHAINTERFACE_H 20 #define SAMANTHAINTERFACE_H 40 char mFilePath[ 1024 ];
46 double mRadialDistorsion[ 5 ];
48 unsigned int mVisiblePointsCount = 0;
50 unsigned int *mVisiblePoints =
nullptr;
52 double *mVisiblePointsCoords =
nullptr;
54 bool mUseFixedInternalParameters =
false;
82 virtual void setSettingValue(
const char *nCategory,
const char *nSettingName,
const char *nValue ) = 0;
88 virtual unsigned int getCameraCount()
const = 0;
90 virtual bool abort() = 0;
102 virtual int compute() = 0;
112 virtual bool triangulatePoint(
unsigned int numberOfTracks,
const unsigned int *imageIndexes,
const double *imageCoords,
double out3DPosition[ 3 ] ) = 0;
115 struct SamanthaInterfaceData;
175 virtual void setSettingValue(
const char *nCategory,
const char *nSettingName,
const char *nValue );
181 virtual unsigned int getCameraCount()
const;
183 virtual bool abort();
195 virtual int compute();
205 virtual bool triangulatePoint(
unsigned int numberOfTracks,
const unsigned int *imageIndexes,
const double *imageCoords,
double out3DPosition[ 3 ] );
209 SamanthaInterfaceData *mData;
216 #ifndef LOGLISTENER_H 217 #define LOGLISTENER_H 240 virtual void messageLogged(
const char *nMessage ) = 0;
249 #ifndef PROGRESSBAR_H 250 #define PROGRESSBAR_H 264 virtual void start(
const char *nWindowTitle,
bool nShowGlobalProgress =
false,
bool nShowCancelButton =
true ) = 0;
267 virtual void finish() = 0;
270 virtual void resetTicks(
unsigned int nTicks,
const char *nLoadingText =
"" ) = 0;
273 virtual void resetGlobalTicks(
unsigned int nGlobalTicks,
const char *nLoadingText =
"" ) = 0;
276 virtual void update(
const char *nLoadingName ) = 0;
279 virtual void updateGlobal(
const char *nLoadingName ) = 0;
Samantha pure virtual interface class.
Definition: SamanthaInterface.h:72
virtual void typeChanged(LogType type)
Called when the current log type has changed.
Definition: SamanthaInterface.h:243
Store a PointCloud object. Nothing needed in input. Everything will be filled by samantha.
Definition: SamanthaInterface.h:58
Samantha dll interface.
Definition: SamanthaInterface.h:118
Store a simple camera object for the samantha interface. Just fill the filepath, the others parameter...
Definition: SamanthaInterface.h:34
Definition: LogListener.h:22
unsigned int mNumberOfPoints
Total Number of reconstructed points.
Definition: SamanthaInterface.h:68
unsigned char * mColors
Point colors (3xNumber of points)
Definition: SamanthaInterface.h:66
double * mPositions
Point positions (3xNumber of points)
Definition: SamanthaInterface.h:64
Pure virtual Log Listener interface.
Definition: LogListener.h:29
Pure virtual Progress Bar interface.
Definition: ProgressBar.h:29
Definition: SamanthaInterface.h:31