fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SImageSliceOrientationText.hpp
1
/* ***** BEGIN LICENSE BLOCK *****
2
* FW4SPL - Copyright (C) IRCAD, 2009-2017.
3
* Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4
* published by the Free Software Foundation.
5
* ****** END LICENSE BLOCK ****** */
6
7
#ifndef __VISUVTKADAPTOR_SIMAGESLICEORIENTATIONTEXT_HPP__
8
#define __VISUVTKADAPTOR_SIMAGESLICEORIENTATIONTEXT_HPP__
9
10
#include "visuVTKAdaptor/config.hpp"
11
12
#include <fwDataTools/helper/MedicalImageAdaptor.hpp>
13
14
#include <fwRenderVTK/IAdaptor.hpp>
15
16
#include <memory>
//unique_ptr
17
#include <string>
18
19
namespace
visuVTKAdaptor
20
{
21
22
class
ImageSliceOrientationTextPImpl;
23
51
class
VISUVTKADAPTOR_CLASS_API
SImageSliceOrientationText
:
public
::fwDataTools::helper::MedicalImageAdaptor
,
52
public
::fwRenderVTK::IAdaptor
53
{
54
55
public
:
56
57
fwCoreServiceClassDefinitionsMacro
( (
SImageSliceOrientationText
)(::
fwRenderVTK::IAdaptor
) );
58
59
VISUVTKADAPTOR_API
SImageSliceOrientationText
() noexcept;
60
VISUVTKADAPTOR_API virtual ~
SImageSliceOrientationText
() noexcept;
61
62
protected:
63
66
VISUVTKADAPTOR_API
void
configuring() override;
67
VISUVTKADAPTOR_API
void
starting() override;
68
VISUVTKADAPTOR_API
void
updating() override;
69
VISUVTKADAPTOR_API
void
stopping() override;
71
80
VISUVTKADAPTOR_API virtual
KeyConnectionsMap
getAutoConnections() const override;
81
83
VISUVTKADAPTOR_API
void
setOrientation(
Orientation
orientation ) override;
84
86
std
::
string
m_locations;
87
89
std
::
string
m_initialOrientation;
90
92
std
::unique_ptr<
ImageSliceOrientationTextPImpl
> m_pimpl;
93
94
private:
99
void
updateSliceType(
int
from,
int
to);
104
};
105
106
}
//namespace visuVTKAdaptor
107
108
#endif // __VISUVTKADAPTOR_SIMAGESLICEORIENTATIONTEXT_HPP__
visuVTKAdaptor::SImageSliceOrientationText
Shows image orientation information (right, left, ...) This adaptor show locations labels in the four...
Definition:
SImageSliceOrientationText.hpp:51
fwServices::IService::KeyConnectionsMap
This class is a helper to define the connections of a service and its data.
Definition:
IService.hpp:454
visuVTKAdaptor::ImageSliceOrientationTextPImpl
Definition:
SImageSliceOrientationText.cpp:33
visuVTKAdaptor
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
std
STL namespace.
fwDataTools::helper::MedicalImageAdaptor::Orientation
Orientation
Image orientation.
Definition:
MedicalImageAdaptor.hpp:46
fwCoreServiceClassDefinitionsMacro
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Definition:
core/fwCore/include/fwCore/macros.hpp:496
fwDataTools::helper::MedicalImageAdaptor
Helpers for medical image.
Definition:
MedicalImageAdaptor.hpp:39
fwRenderVTK::IAdaptor
Base class for VTK adaptors.
Definition:
fwRenderVTK/include/fwRenderVTK/IAdaptor.hpp:31
Bundles
visu
visuVTKAdaptor
include
visuVTKAdaptor
SImageSliceOrientationText.hpp
Generated on Wed Sep 5 2018 12:47:57 for fw4spl by
1.8.11