Added DLL export annotations on new code
parent
f773a34834
commit
67e36febf2
|
@ -232,7 +232,7 @@ namespace gtsam {
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
/** Clear all shortcut caches - use before timing on marginal calculation to avoid residual cache data */
|
/** Clear all shortcut caches - use before timing on marginal calculation to avoid residual cache data */
|
||||||
inline void deleteCachedShortcuts() {
|
void deleteCachedShortcuts() {
|
||||||
root_->deleteCachedShortcuts();
|
root_->deleteCachedShortcuts();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -9,12 +9,13 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gtsam_unstable/base/dllexport.h>
|
||||||
#include <gtsam/geometry/Rot2.h>
|
#include <gtsam/geometry/Rot2.h>
|
||||||
#include <gtsam/geometry/Pose3.h>
|
#include <gtsam/geometry/Pose3.h>
|
||||||
|
|
||||||
namespace gtsam {
|
namespace gtsam {
|
||||||
|
|
||||||
class BearingS2 : public DerivedValue<BearingS2> {
|
class GTSAM_UNSTABLE_EXPORT BearingS2 : public DerivedValue<BearingS2> {
|
||||||
protected:
|
protected:
|
||||||
Rot2 azimuth_, elevation_;
|
Rot2 azimuth_, elevation_;
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gtsam_unstable/base/dllexport.h>
|
||||||
#include <gtsam/geometry/Pose3.h>
|
#include <gtsam/geometry/Pose3.h>
|
||||||
#include <gtsam/geometry/Pose2.h>
|
#include <gtsam/geometry/Pose2.h>
|
||||||
|
|
||||||
|
@ -21,7 +22,7 @@ namespace gtsam {
|
||||||
* @ingroup geometry
|
* @ingroup geometry
|
||||||
* \nosubgrouping
|
* \nosubgrouping
|
||||||
*/
|
*/
|
||||||
class Pose3Upright : public DerivedValue<Pose3Upright> {
|
class GTSAM_UNSTABLE_EXPORT Pose3Upright : public DerivedValue<Pose3Upright> {
|
||||||
public:
|
public:
|
||||||
static const size_t dimension = 4;
|
static const size_t dimension = 4;
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,7 @@ namespace gtsam {
|
||||||
/**
|
/**
|
||||||
* General polygon class for convex polygons
|
* General polygon class for convex polygons
|
||||||
*/
|
*/
|
||||||
class SimPolygon2D {
|
class GTSAM_UNSTABLE_EXPORT SimPolygon2D {
|
||||||
protected:
|
protected:
|
||||||
std::vector<Point2> landmarks_;
|
std::vector<Point2> landmarks_;
|
||||||
static boost::minstd_rand rng;
|
static boost::minstd_rand rng;
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gtsam_unstable/base/dllexport.h>
|
||||||
#include <gtsam/geometry/Pose2.h>
|
#include <gtsam/geometry/Pose2.h>
|
||||||
#include <gtsam/linear/Sampler.h>
|
#include <gtsam/linear/Sampler.h>
|
||||||
|
|
||||||
|
@ -15,7 +16,7 @@ namespace gtsam {
|
||||||
* General Wall class for walls defined around unordered endpoints
|
* General Wall class for walls defined around unordered endpoints
|
||||||
* Primarily to handle ray intersections
|
* Primarily to handle ray intersections
|
||||||
*/
|
*/
|
||||||
class SimWall2D {
|
class GTSAM_UNSTABLE_EXPORT SimWall2D {
|
||||||
protected:
|
protected:
|
||||||
Point2 a_, b_;
|
Point2 a_, b_;
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <gtsam_unstable/base/dllexport.h>
|
||||||
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
|
#include <gtsam/nonlinear/NonlinearFactorGraph.h>
|
||||||
|
|
||||||
#include <gtsam/linear/GaussianFactorGraph.h>
|
#include <gtsam/linear/GaussianFactorGraph.h>
|
||||||
|
@ -24,11 +25,11 @@ typedef boost::shared_ptr<JacobianGraph> shared_jacobianGraph;
|
||||||
* Summarization function that eliminates a set of variables (does not convert to Jacobians)
|
* Summarization function that eliminates a set of variables (does not convert to Jacobians)
|
||||||
* NOTE: uses sequential solver - requires fully constrained system
|
* NOTE: uses sequential solver - requires fully constrained system
|
||||||
*/
|
*/
|
||||||
GaussianFactorGraph::shared_ptr summarizeGraphSequential(
|
GaussianFactorGraph::shared_ptr GTSAM_UNSTABLE_EXPORT summarizeGraphSequential(
|
||||||
const GaussianFactorGraph& full_graph, const std::vector<Index>& indices, bool useQR = false);
|
const GaussianFactorGraph& full_graph, const std::vector<Index>& indices, bool useQR = false);
|
||||||
|
|
||||||
/** Summarization that also converts keys to indices */
|
/** Summarization that also converts keys to indices */
|
||||||
GaussianFactorGraph::shared_ptr summarizeGraphSequential(
|
GaussianFactorGraph::shared_ptr GTSAM_UNSTABLE_EXPORT summarizeGraphSequential(
|
||||||
const GaussianFactorGraph& full_graph, const Ordering& ordering,
|
const GaussianFactorGraph& full_graph, const Ordering& ordering,
|
||||||
const KeySet& saved_keys, bool useQR = false);
|
const KeySet& saved_keys, bool useQR = false);
|
||||||
|
|
||||||
|
@ -38,7 +39,7 @@ GaussianFactorGraph::shared_ptr summarizeGraphSequential(
|
||||||
*
|
*
|
||||||
* Performs linearization to apply an ordering
|
* Performs linearization to apply an ordering
|
||||||
*/
|
*/
|
||||||
std::pair<GaussianFactorGraph,Ordering>
|
std::pair<GaussianFactorGraph,Ordering> GTSAM_UNSTABLE_EXPORT
|
||||||
partialCholeskySummarization(const NonlinearFactorGraph& graph, const Values& values,
|
partialCholeskySummarization(const NonlinearFactorGraph& graph, const Values& values,
|
||||||
const KeySet& overlap_keys);
|
const KeySet& overlap_keys);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue