mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Changed WIN32 to _WIN32 to handle some 64bits systems where WIN32 is not defined (_WIN32 should be defined both for 32bits and 64bits systems: http://msdn.microsoft.com/en-us/library/b0084kay.aspx).
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1830 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -57,7 +57,7 @@ void CloudViewer::mouseEventOccurred (const pcl::visualization::MouseEvent &even
|
||||
|
||||
CloudViewer::CloudViewer(QWidget *parent) :
|
||||
QVTKWidget(parent),
|
||||
#if defined(WIN32) || defined(__APPLE__)
|
||||
#if defined(_WIN32) || defined(__APPLE__)
|
||||
_visualizer(new pcl::visualization::PCLVisualizer("PCLVisualizer")),
|
||||
#else
|
||||
_visualizer(new pcl::visualization::PCLVisualizer("PCLVisualizer", false)),
|
||||
@@ -81,7 +81,7 @@ CloudViewer::CloudViewer(QWidget *parent) :
|
||||
|
||||
this->SetRenderWindow(_visualizer->getRenderWindow());
|
||||
|
||||
#if !defined(WIN32) && !defined(__APPLE__)
|
||||
#if !defined(_WIN32) && !defined(__APPLE__)
|
||||
_visualizer->setupInteractor(this->GetInteractor(), this->GetRenderWindow());
|
||||
#endif
|
||||
|
||||
|
||||
@@ -1127,7 +1127,7 @@ UPlotAxis::UPlotAxis(Qt::Orientation orientation, float min, float max, QWidget
|
||||
{
|
||||
_reversed = true; // default bottom->up
|
||||
}
|
||||
#ifdef WIN32
|
||||
#ifdef _WIN32
|
||||
this->setMinimumSize(15, 25);
|
||||
#else
|
||||
this->setMinimumSize(15, 25);
|
||||
|
||||
Reference in New Issue
Block a user