Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F476
ImageCropper.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
•
santos
Mar 5 2010, 10:30 AM
2010-03-05 10:30:01 (UTC+1)
Size
1 KB
Referenced Files
None
Subscribers
None
ImageCropper.patch
View Options
Index: mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.cpp
===================================================================
--- mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.cpp (revision 21560)
+++ mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.cpp (working copy)
@@ -28,10 +28,11 @@
#include <mitkRenderingManager.h>
+#include <mitkCuboid.h>
#include <mitkProperties.h>
#include <mitkGlobalInteraction.h>
#include "mitkUndoController.h"
-#include "mitkCuboidObjectCutter.h"
+#include "mitkBoundingObjectCutter.h"
#include "mitkImageAccessByItk.h"
#include "mitkITKImageImport.h"
#include "mitkIDataStorageService.h"
@@ -295,7 +296,7 @@
}
// image and bounding object ok
- mitk::CuboidObjectCutter::Pointer cutter = mitk::CuboidObjectCutter::New();
+ mitk::BoundingObjectCutter::Pointer cutter = mitk::BoundingObjectCutter::New();
cutter->SetBoundingObject( m_CroppingObject );
cutter->SetInput( m_ImageToCrop );
cutter->AutoOutsideValueOff();
Index: mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.h
===================================================================
--- mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.h (revision 21560)
+++ mitk/Modules/Bundles/org.mitk.gui.qt.imagecropper/src/internal/QmitkImageCropper.h (working copy)
@@ -21,7 +21,7 @@
#pragma warning( disable : 4250 )
#include "QmitkFunctionality.h"
-#include <mitkCuboid.h>
+#include <mitkBoundingObject.h>
#include <mitkOperationActor.h>
#include <mitkOperation.h>
#include <mitkAffineInteractor.h>
@@ -187,7 +187,7 @@
/*!
* \brief The cuboid used for cropping.
*/
- mitk::Cuboid::Pointer m_CroppingObject;
+ mitk::BoundingObject::Pointer m_CroppingObject;
/*!
* \brief Tree node of the cuboid used for cropping.
File Metadata
Details
Attached
Mime Type
text/plain
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
457
Default Alt Text
ImageCropper.patch (1 KB)
Attached To
Mode
T3384: image cropper crops wrong region
Attached
Detach File
Event Timeline
•
santos
added a comment.
Mar 5 2010, 10:30 AM
2010-03-05 10:30:01 (UTC+1)
Comment Actions
Patch that reverts all my changes.
Log In to Comment