Skip to content

Commit

Permalink
missing macro
Browse files Browse the repository at this point in the history
  • Loading branch information
artivis committed Oct 9, 2014
1 parent a176b97 commit 2be8bda
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lsd_slam_core/src/DataStructures/FrameMemory.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
#include <deque>
#include <list>
#include <boost/thread/shared_mutex.hpp>

#include <Eigen/Core> //For EIGEN MACRO

namespace lsd_slam
{
Expand All @@ -35,6 +35,8 @@ class Frame;
class FrameMemory
{
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

/** Returns the global instance. Creates it when the method is first called. */
static FrameMemory& getInstance();

Expand Down
2 changes: 2 additions & 0 deletions lsd_slam_core/src/DepthEstimation/DepthMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ class KeyFrameGraph;
class DepthMap
{
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

DepthMap(int w, int h, const Eigen::Matrix3f& K);
DepthMap(const DepthMap&) = delete;
DepthMap& operator=(const DepthMap&) = delete;
Expand Down
4 changes: 4 additions & 0 deletions lsd_slam_core/src/GlobalMapping/KeyFrameGraph.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ class FramePoseStruct;

struct KFConstraintStruct
{
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

inline KFConstraintStruct()
{
firstFrame = secondFrame = 0;
Expand Down Expand Up @@ -87,6 +89,8 @@ class KeyFrameGraph
{
friend class IntegrationTest;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

/** Constructs an empty pose graph. */
KeyFrameGraph();

Expand Down
2 changes: 2 additions & 0 deletions lsd_slam_core/src/GlobalMapping/TrackableKeyFrameSearch.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ struct TrackableKFStruct
class TrackableKeyFrameSearch
{
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

/** Constructor. */
TrackableKeyFrameSearch(KeyFrameGraph* graph, int w, int h, Eigen::Matrix3f K);
~TrackableKeyFrameSearch();
Expand Down
2 changes: 2 additions & 0 deletions lsd_slam_core/src/LiveSLAMWrapper.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ struct LiveSLAMWrapper : public Notifiable
{
friend class LiveSLAMWrapperROS;
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

LiveSLAMWrapper(InputImageStream* imageStream, Output3DWrapper* outputWrapper);

/** Destructor. */
Expand Down
2 changes: 2 additions & 0 deletions lsd_slam_core/src/Tracking/TrackingReference.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ class KeyFrameGraph;
class TrackingReference
{
public:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW

/** Creates an empty TrackingReference with optional preallocation per level. */
TrackingReference();
~TrackingReference();
Expand Down

0 comments on commit 2be8bda

Please sign in to comment.