Carna
Version 3.3.2
include
Carna
base
ManagedTexture3DInterface.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010 - 2015 Leonid Kostrykin
3
*
4
* Chair of Medical Engineering (mediTEC)
5
* RWTH Aachen University
6
* Pauwelsstr. 20
7
* 52074 Aachen
8
* Germany
9
*
10
*/
11
12
#ifndef MANAGEDTEXTURE3DINTERFACE_H_6014714286
13
#define MANAGEDTEXTURE3DINTERFACE_H_6014714286
14
15
#include <Carna/Carna.h>
16
#include <
Carna/base/GeometryFeature.h
>
17
#include <
Carna/base/noncopyable.h
>
18
#include <
Carna/base/math.h
>
19
24
namespace
Carna
25
{
26
27
namespace
base
28
{
29
30
31
32
// ----------------------------------------------------------------------------------
33
// ManagedTexture3DInterface
34
// ----------------------------------------------------------------------------------
35
42
class
CARNA_LIB
ManagedTexture3DInterface
:
public
GeometryFeature::ManagedInterface
43
{
44
45
NON_COPYABLE
46
47
public
:
48
49
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
50
54
explicit
ManagedTexture3DInterface
(
ManagedTexture3D
& managed );
55
59
virtual
~ManagedTexture3DInterface();
60
64
ManagedTexture3D
&
managed
;
65
68
const
Texture< 3 >
&
get
()
const
;
69
70
};
// ManagedTexture3DInterface
71
72
73
74
}
// namespace Carna :: base
75
76
}
// namespace Carna
77
78
#endif // MANAGEDTEXTURE3DINTERFACE_H_6014714286
math.h
Defines Carna::base::math namespace and CARNA_FOR_VECTOR3UI.
Carna::base::ManagedTexture3DInterface
Interfaces the Texture<3> that a ManagedTexture3D represents.
Definition:
ManagedTexture3DInterface.h:42
GeometryFeature.h
Defines Carna::base::GeometryFeature.
Carna::base::ManagedTexture3D
Represents 3D OpenGL texture object whose lifetime is managed by instances of this class...
Definition:
ManagedTexture3D.h:44
Carna::base::ManagedTexture3DInterface::managed
ManagedTexture3D & managed
References the ManagedTexture3D object this interface belongs to.
Definition:
ManagedTexture3DInterface.h:64
Carna::base::GeometryFeature::ManagedInterface
Represents an acquisition of the video resources from a particular GeometryFeature. This acquisition realizes the RAII idiom.
Definition:
GeometryFeature.h:110
Carna
Definition:
doc_CoordinateSystems.dox:1
Carna::base::Texture< 3 >
noncopyable.h
NON_COPYABLE
#define NON_COPYABLE
Features class it is placed in as non-copyable.
Definition:
noncopyable.h:109
Written by
Leonid Kostrykin
at the Chair of Medical Engineering (mediTEC), RWTH Aachen University
Documentation generated by
Doxygen