fw4spl
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
STexture.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_STEXTURE_HPP__
8
#define __VISUVTKADAPTOR_STEXTURE_HPP__
9
10
#include "visuVTKAdaptor/config.hpp"
11
12
#include <fwRenderVTK/IAdaptor.hpp>
13
14
namespace
fwData
15
{
16
class
Material;
17
}
18
19
namespace
visuVTKAdaptor
20
{
21
59
class
VISUVTKADAPTOR_CLASS_API
STexture
:
public
::fwRenderVTK::IAdaptor
60
{
61
62
public
:
63
64
fwCoreServiceClassDefinitionsMacro
( (
STexture
)(::
fwRenderVTK::IAdaptor
) );
65
70
VISUVTKADAPTOR_API
static
const ::fwCom::Slots::SlotKeyType s_APPLY_TEXTURE_SLOT;
71
typedef ::fwCom::Slot< void ( SPTR(::fwData::Material) ) >
ApplyTextureSlotType
;
74
VISUVTKADAPTOR_API
STexture
() noexcept;
77
VISUVTKADAPTOR_API virtual ~
STexture
() noexcept;
78
79
protected:
80
81
VISUVTKADAPTOR_API
void
configuring() override;
82
VISUVTKADAPTOR_API
void
starting() override;
83
VISUVTKADAPTOR_API
void
updating() override;
84
VISUVTKADAPTOR_API
void
stopping() override;
85
93
VISUVTKADAPTOR_API virtual
KeyConnectionsMap
getAutoConnections() const override;
94
96
void
applyTexture(
SPTR
(::
fwData
::Material) _material);
97
99
std
::set<
SPTR
(::
fwData
::Material) > m_materialSet;
100
102
std
::
string
m_filtering;
103
105
std
::
string
m_wrapping;
106
108
bool
m_lighting;
109
};
110
111
}
//namespace visuVTKAdaptor
112
113
#endif // __VISUVTKADAPTOR_STEXTURE_HPP__
SPTR
#define SPTR(_cls_)
Definition:
core/fwCore/include/fwCore/macros.hpp:71
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...
std
STL namespace.
fwCoreServiceClassDefinitionsMacro
#define fwCoreServiceClassDefinitionsMacro(_classinfo_)
Generate common code for services classes.
Definition:
core/fwCore/include/fwCore/macros.hpp:496
fwData
Contains the representation of the data objects used in the framework.
Definition:
SSliceIndexDicomEditor.hpp:27
fwCom::Slot
Definition:
DumpEditor.hpp:33
visuVTKAdaptor::STexture
Adaptor to map a texture on a mesh.
Definition:
STexture.hpp:59
fwRenderVTK::IAdaptor
Base class for VTK adaptors.
Definition:
fwRenderVTK/include/fwRenderVTK/IAdaptor.hpp:31
Bundles
visu
visuVTKAdaptor
include
visuVTKAdaptor
STexture.hpp
Generated on Wed Sep 5 2018 12:47:59 for fw4spl by
1.8.11