Got rid of inline
parent
a93001ba0d
commit
2ce252fdc0
|
|
@ -91,39 +91,38 @@ public:
|
||||||
std::cout.flush();
|
std::cout.flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
inline LinearizationMode getLinearizationMode() const {
|
LinearizationMode getLinearizationMode() const {
|
||||||
return linearizationMode;
|
return linearizationMode;
|
||||||
}
|
}
|
||||||
inline DegeneracyMode getDegeneracyMode() const {
|
DegeneracyMode getDegeneracyMode() const {
|
||||||
return degeneracyMode;
|
return degeneracyMode;
|
||||||
}
|
}
|
||||||
inline TriangulationParameters getTriangulationParameters() const {
|
TriangulationParameters getTriangulationParameters() const {
|
||||||
return triangulationParameters;
|
return triangulationParameters;
|
||||||
}
|
}
|
||||||
inline bool getVerboseCheirality() const {
|
bool getVerboseCheirality() const {
|
||||||
return verboseCheirality;
|
return verboseCheirality;
|
||||||
}
|
}
|
||||||
inline bool getThrowCheirality() const {
|
bool getThrowCheirality() const {
|
||||||
return throwCheirality;
|
return throwCheirality;
|
||||||
}
|
}
|
||||||
inline void setLinearizationMode(LinearizationMode linMode) {
|
void setLinearizationMode(LinearizationMode linMode) {
|
||||||
linearizationMode = linMode;
|
linearizationMode = linMode;
|
||||||
}
|
}
|
||||||
inline void setDegeneracyMode(DegeneracyMode degMode) {
|
void setDegeneracyMode(DegeneracyMode degMode) {
|
||||||
degeneracyMode = degMode;
|
degeneracyMode = degMode;
|
||||||
}
|
}
|
||||||
inline void setRankTolerance(double rankTol) {
|
void setRankTolerance(double rankTol) {
|
||||||
triangulationParameters.rankTolerance = rankTol;
|
triangulationParameters.rankTolerance = rankTol;
|
||||||
}
|
}
|
||||||
inline void setEnableEPI(bool enableEPI) {
|
void setEnableEPI(bool enableEPI) {
|
||||||
triangulationParameters.enableEPI = enableEPI;
|
triangulationParameters.enableEPI = enableEPI;
|
||||||
}
|
}
|
||||||
inline void setLandmarkDistanceThreshold(bool landmarkDistanceThreshold) {
|
void setLandmarkDistanceThreshold(bool landmarkDistanceThreshold) {
|
||||||
triangulationParameters.landmarkDistanceThreshold =
|
triangulationParameters.landmarkDistanceThreshold =
|
||||||
landmarkDistanceThreshold;
|
landmarkDistanceThreshold;
|
||||||
}
|
}
|
||||||
inline void setDynamicOutlierRejectionThreshold(
|
void setDynamicOutlierRejectionThreshold(bool dynOutRejectionThreshold) {
|
||||||
bool dynOutRejectionThreshold) {
|
|
||||||
triangulationParameters.dynamicOutlierRejectionThreshold =
|
triangulationParameters.dynamicOutlierRejectionThreshold =
|
||||||
dynOutRejectionThreshold;
|
dynOutRejectionThreshold;
|
||||||
}
|
}
|
||||||
|
|
@ -518,17 +517,17 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Is result valid?
|
/// Is result valid?
|
||||||
inline bool isValid() const {
|
bool isValid() const {
|
||||||
return result_;
|
return result_;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** return the degenerate state */
|
/** return the degenerate state */
|
||||||
inline bool isDegenerate() const {
|
bool isDegenerate() const {
|
||||||
return result_.degenerate();
|
return result_.degenerate();
|
||||||
}
|
}
|
||||||
|
|
||||||
/** return the cheirality status flag */
|
/** return the cheirality status flag */
|
||||||
inline bool isPointBehindCamera() const {
|
bool isPointBehindCamera() const {
|
||||||
return result_.behindCamera();
|
return result_.behindCamera();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue