X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxMaracasRenderImageTransformation.h;h=aec7cf757db9e4770ba54937a8c5ffa97f2ad315;hb=e263b7ace0f53d647a731553a3f67700838ad146;hp=7e7f4fc43f84997ee9d459fb07c06822c2e0e31e;hpb=fde5fea23394507e29ff91d85748f6f77e994d5d;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.h b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.h index 7e7f4fc..aec7cf7 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.h +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxMaracasRenderImageTransformation.h @@ -1,9 +1,34 @@ +/*# --------------------------------------------------------------------- +# +# Copyright (c) CREATIS (Centre de Recherche en Acquisition et Traitement de l'Image +# pour la Sant�) +# Authors : Eduardo Davila, Frederic Cervenansky, Claire Mouton +# Previous Authors : Laurent Guigues, Jean-Pierre Roux +# CreaTools website : www.creatis.insa-lyon.fr/site/fr/creatools_accueil +# +# This software is governed by the CeCILL-B license under French law and +# abiding by the rules of distribution of free software. You can use, +# modify and/ or redistribute the software under the terms of the CeCILL-B +# license as circulated by CEA, CNRS and INRIA at the following URL +# http://www.cecill.info/licences/Licence_CeCILL-B_V1-en.html +# or in the file LICENSE.txt. +# +# As a counterpart to the access to the source code and rights to copy, +# modify and redistribute granted by the license, users are provided only +# with a limited warranty and the software's author, the holder of the +# economic rights, and the successive licensors have only limited +# liability. +# +# The fact that you are presently reading this means that you have had +# knowledge of the CeCILL-B license and that you accept its terms. +# ------------------------------------------------------------------------ */ + #ifndef wxMaracasRenderImageTransformation_H_ #define wxMaracasRenderImageTransformation_H_ #include -#include "wxMaracasMultipleVolumeRendererManager.h" +#include "volumerenderermanager.h" #include "wxMaracasSurfaceRenderingManager.h" #include "creaMaracasVisu_EXPORT.h" @@ -11,18 +36,15 @@ class creaMaracasVisu_EXPORT wxMaracasRenderImageTransformation { public: - wxMaracasRenderImageTransformation(wxMaracasMultipleVolumeRendererManager* vol, wxMaracasSurfaceRenderingManager* surface1, + wxMaracasRenderImageTransformation(VolumeRendererManager* vol, wxMaracasSurfaceRenderingManager* surface1, wxMaracasSurfaceRenderingManager* surface2, wxMaracasSurfaceRenderingManager* surface3, int id); ~wxMaracasRenderImageTransformation(); - void Translate(int x, int y, int z); - void Rotate(int x, int y, int z); - void Scale(int x, int y, int z); - + void Translate(int tx, int ty, int tz, int rx, int ry, int rz, int sx, int sy, int sz); void Refresh()throw(char*); private: - wxMaracasMultipleVolumeRendererManager* vol; + VolumeRendererManager* vol; wxMaracasSurfaceRenderingManager* surface1; wxMaracasSurfaceRenderingManager* surface2; wxMaracasSurfaceRenderingManager* surface3;