fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
SImageText.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_SIMAGETEXT_HPP__
8
#define __VISUVTKADAPTOR_SIMAGETEXT_HPP__
9
10
#include "visuVTKAdaptor/config.hpp"
11
#include "visuVTKAdaptor/SText.hpp"
12
13
#include <fwDataTools/helper/MedicalImageAdaptor.hpp>
14
15
#include <fwRenderVTK/IAdaptor.hpp>
16
17
#include <string>
18
19
class
vtkTextActor;
20
21
namespace
visuVTKAdaptor
22
{
23
71
class
VISUVTKADAPTOR_CLASS_API
SImageText
:
public
SText
,
72
public
::fwDataTools::helper::MedicalImageAdaptor
73
{
74
75
public
:
76
77
fwCoreServiceClassDefinitionsMacro
( (
SImageText
)(::
fwRenderVTK::IAdaptor
) );
78
79
VISUVTKADAPTOR_API
SImageText
() noexcept;
80
81
VISUVTKADAPTOR_API virtual ~
SImageText
() noexcept;
82
83
protected:
84
85
VISUVTKADAPTOR_API
void
configuring() override;
86
VISUVTKADAPTOR_API
void
starting() override;
87
VISUVTKADAPTOR_API
void
updating() override;
88
VISUVTKADAPTOR_API
void
stopping() override;
90
VISUVTKADAPTOR_API
void
swapping(const KeyType& key) override;
91
100
VISUVTKADAPTOR_API virtual
KeyConnectionsMap
getAutoConnections() const override;
101
103
VISUVTKADAPTOR_API virtual
void
updateTFPoints() override;
104
106
VISUVTKADAPTOR_API virtual
void
updateTFWindowing(
double
window,
double
level) override;
107
112
void
updateSliceIndex(
int
axial,
int
frontal,
int
sagittal);
117
};
118
119
}
//namespace visuVTKAdaptor
120
121
#endif //__VISUVTKADAPTOR_SIMAGETEXT_HPP__
fwServices::IService::KeyConnectionsMap
This class is a helper to define the connections of a service and its data.
Definition:
IService.hpp:454
visuVTKAdaptor
The namespace visuVTKAdaptor contains the list of adaptors available for the generic scene...
visuVTKAdaptor::SImageText
Adaptor to display window image information (width, heigth, picked position)
Definition:
SImageText.hpp:71
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
visuVTKAdaptor::SText
Displays a text.
Definition:
SText.hpp:68
fwRenderVTK::IAdaptor
Base class for VTK adaptors.
Definition:
fwRenderVTK/include/fwRenderVTK/IAdaptor.hpp:31
Bundles
visu
visuVTKAdaptor
include
visuVTKAdaptor
SImageText.hpp
Generated on Wed Sep 5 2018 12:47:57 for fw4spl by
1.8.11