19#ifndef FLOWENGINECAMERAINTERFACE_H
20#define FLOWENGINECAMERAINTERFACE_H
30 class CameraCalibrationInterface;
31 class ControlPointConstraintInterface;
32 class SettingsInterface;
137 FLE_DLL
virtual void getDimensions(
int &outWidth,
int &outHeight )
const = 0;
#define FLOWENGINE_FACTORY
Definition: CommonDef.h:32
Stores a camera calibration.
Definition: CameraCalibrationInterface.h:30
Stores a camera object to feed the Structure from Motion parameters.
Definition: CameraInterface.h:38
virtual FLE_DLL Result loadImage(ConstStringBuffer filePath)=0
virtual FLE_DLL Result computeGroundSampleDistance(double &outMin, double &outMax, double &outMean) const =0
virtual FLE_DLL Result loadMask(ConstStringBuffer filePath, const SettingsInterface &settings)=0
virtual FLE_DLL Size getImageFilePathLength() const =0
virtual FLE_DLL Result getT(Point3 &outTranslation) const =0
virtual FLE_DLL void resetMask()=0
Resets the mask of this camera.
virtual FLE_DLL void getCameraCalibration(CameraCalibrationInterface &outCameraCalibration) const =0
virtual FLE_DLL Result getPPM(Buffer< double > outPPM) const =0
virtual FLE_DLL Result getImageFilePath(StringBuffer outImageFilePath) const =0
virtual FLE_DLL Result setPPM(ConstBuffer< double > ppm)=0
virtual FLE_DLL Result orientWithControlPointConstraints(ConstBuffer< ControlPointConstraintInterface * > controlPoints, bool adjustInternalParameters, bool adjustRadialDistortion)=0
virtual FLE_DLL Result loadPreviousFrame(ConstStringBuffer filePath)=0
virtual FLE_DLL Result getR(Buffer< double > outR) const =0
virtual FLE_DLL Result loadPivotFrame(ConstStringBuffer filePath)=0
virtual FLE_DLL Result loadFromXmp(ConstStringBuffer filePath)=0
virtual FLE_DLL Result saveToXmp(ConstStringBuffer filePath) const =0
virtual FLE_DLL void getDimensions(int &outWidth, int &outHeight) const =0
virtual FLE_DLL bool isReconstructed() const =0
virtual FLE_DLL Result saveUndistortedImage(ConstStringBuffer filePath, Size width=0, Size height=0, Size channelBitDepth=0) const =0
virtual FLE_DLL ReconstructionID reconstructionId() const =0
virtual FLE_DLL Result projectPoint(const Point3 &point, Point2 &outImageCoords) const =0
virtual FLE_DLL Result generateSTMap(Image &inOutImage) const =0
virtual FLE_DLL Result setR(ConstBuffer< double > rot)=0
virtual FLE_DLL ~CameraInterface()=default
Default virtual destructor.
virtual FLE_DLL Result setT(ConstBuffer< double > translation)=0
virtual FLE_DLL void setCameraCalibration(const CameraCalibrationInterface &cameraCalibration)=0
Interface for all FlowEngine objects with an editable name.
Definition: NamedObjectInterface.h:30
Stores the processing settings.
Definition: SettingsInterface.h:32
Definition: BoundingBoxInterface.cpp:26
void DestroyCamera(CameraInterface *camera)
Definition: CameraInterface.cpp:32
std::size_t Size
Size type.
Definition: CommonDef.h:103
unsigned int ReconstructionID
Unique identification number in a group of cameras.
Definition: CommonDef.h:112
CameraInterface * CreateCamera()
Definition: CameraInterface.cpp:27
Result
Enumerates possible results generated by FlowEngine.
Definition: CommonDef.h:45
Specialization for a Buffer of characters.
Definition: CommonDef.h:255
Holds a (mutable) non_owning pointer and a size Used to marshal memory buffers as arguments in a safe...
Definition: CommonDef.h:118
Specialization for a const buffer characters.
Definition: CommonDef.h:296
Holds a (non mutable) non_owning pointer and a count Used to marshal memory buffers as arguments in a...
Definition: CommonDef.h:191
a Quaternion Holds information about a raw image Data is not owned
Definition: CommonDef.h:479
a 2 dimensional point
Definition: CommonDef.h:388
a three dimensional point
Definition: CommonDef.h:375