File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,9 @@ class Landmark
107107 * @brief Get the 3D position of the landmark (non-const version)
108108 * @return Reference to the 3D position vector
109109 */
110+ #ifndef SWIG
110111 Vec3& getX () { return _X; }
112+ #endif
111113
112114 /* *
113115 * @brief Set the 3D position of the landmark
@@ -161,7 +163,9 @@ class Landmark
161163 * @brief Get the RGB color of the landmark (non-const version)
162164 * @return Reference to the RGB color associated with the landmark
163165 */
166+ #ifndef SWIG
164167 image::RGBColor& getRgb () { return _rgb; }
168+ #endif
165169
166170 /* *
167171 * @brief Set the RGB color of the landmark
Original file line number Diff line number Diff line change 2020%ignore aliceVision::sfmData::Landmark::_observations;
2121%ignore aliceVision::sfmData::Landmark::_parallaxRobust;
2222%ignore aliceVision::sfmData::Landmark::_isPrecise;
23+ %ignore aliceVision::sfmData::Landmark::_X;
2324
2425// Add new swig only C++ code
2526%extend aliceVision::sfmData::Landmark {
5152 rgb = property (getRgbVec3, setRgbVec3)
5253 state = property (getState, setState)
5354 descType = property (getDescType, setDescType)
55+ X = property (getX, setX)
5456 %}
5557}
5658
You can’t perform that action at this time.
0 commit comments