LibCarna
Version 3.4.0
Loading...
Searching...
No Matches
include
LibCarna
base
BufferedVectorFieldFormat.hpp
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2010 - 2016 Leonid Kostrykin
3
*
4
* Chair of Medical Engineering (mediTEC)
5
* RWTH Aachen University
6
* Pauwelsstr. 20
7
* 52074 Aachen
8
* Germany
9
*
10
*
11
* Copyright (C) 2021 - 2025 Leonid Kostrykin
12
*
13
*/
14
15
#ifndef BUFFEREDVECTORFIELDFORMAT_H_6014714286
16
#define BUFFEREDVECTORFIELDFORMAT_H_6014714286
17
18
#include <
LibCarna/LibCarna.hpp
>
19
25
namespace
LibCarna
26
{
27
28
namespace
base
29
{
30
31
32
33
// ----------------------------------------------------------------------------------
34
// BufferedVectorFieldFormat
35
// ----------------------------------------------------------------------------------
36
40
template
<
typename
BufferedVectorFieldType >
41
struct
BufferedVectorFieldFormat
42
{
43
static_assert
(
sizeof
(
BufferedVectorFieldType
) == -1,
"Unknown BufferedVectorFieldType."
);
44
};
45
46
50
template
< >
51
struct
LIBCARNA
BufferedVectorFieldFormat
<
IntensityVolumeUInt16
>
52
{
53
const
static
unsigned
int
INTERNAL_FORMAT
;
54
const
static
unsigned
int
PIXEL_FORMAT
;
55
const
static
unsigned
int
BUFFER_TYPE
;
56
};
57
58
62
template
< >
63
struct
LIBCARNA
BufferedVectorFieldFormat
<
IntensityVolumeUInt8
>
64
{
65
const
static
unsigned
int
INTERNAL_FORMAT
;
66
const
static
unsigned
int
PIXEL_FORMAT
;
67
const
static
unsigned
int
BUFFER_TYPE
;
68
};
69
70
74
template
< >
75
struct
LIBCARNA
BufferedVectorFieldFormat
<
NormalMap3DInt8
>
76
{
77
const
static
unsigned
int
INTERNAL_FORMAT
;
78
const
static
unsigned
int
PIXEL_FORMAT
;
79
const
static
unsigned
int
BUFFER_TYPE
;
80
};
81
82
83
84
}
// namespace LibCarna :: base
85
86
}
// namespace LibCarna
87
88
#endif
// BUFFEREDVECTORFIELDFORMAT_H_6014714286
LibCarna.hpp
Contains forward-declarations.
LibCarna::base::Association
Represents an association.
Definition
Association.hpp:48
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt16 >::PIXEL_FORMAT
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
Definition
BufferedVectorFieldFormat.hpp:54
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt16 >::BUFFER_TYPE
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
Definition
BufferedVectorFieldFormat.hpp:55
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt16 >::INTERNAL_FORMAT
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
Definition
BufferedVectorFieldFormat.hpp:53
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt8 >::BUFFER_TYPE
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
Definition
BufferedVectorFieldFormat.hpp:67
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt8 >::INTERNAL_FORMAT
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
Definition
BufferedVectorFieldFormat.hpp:65
LibCarna::base::BufferedVectorFieldFormat< IntensityVolumeUInt8 >::PIXEL_FORMAT
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
Definition
BufferedVectorFieldFormat.hpp:66
LibCarna::base::BufferedVectorFieldFormat< NormalMap3DInt8 >::PIXEL_FORMAT
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
Definition
BufferedVectorFieldFormat.hpp:78
LibCarna::base::BufferedVectorFieldFormat< NormalMap3DInt8 >::BUFFER_TYPE
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
Definition
BufferedVectorFieldFormat.hpp:79
LibCarna::base::BufferedVectorFieldFormat< NormalMap3DInt8 >::INTERNAL_FORMAT
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
Definition
BufferedVectorFieldFormat.hpp:77
LibCarna::base::BufferedVectorFieldFormat
Maps math::VectorField implementations to Texture formats.
Definition
BufferedVectorFieldFormat.hpp:42
Written by Leonid Kostrykin © 2021–2025. Based on
Carna
(© 2010-2016).
Documentation generated by
Doxygen