/*========================================================================= medInria Copyright (c) INRIA 2013 - 2019. All rights reserved. See LICENSE.txt for details. This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #pragma once #include #include #include #include class medMouseCrossPosition { public: explicit medMouseCrossPosition(medAbstractImageView *iView); void draw(double *position); void erase(); double *getPosition(); int isEnabled(); void getWorldPosition(double *dPos, double *wPos); private: vtkSmartPointer handle2d; vtkSmartPointer handle2dRep; };