Carna  Version 3.3.2
BufferedVectorFieldFormat.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 BUFFEREDVECTORFIELDFORMAT_H_6014714286
13 #define BUFFEREDVECTORFIELDFORMAT_H_6014714286
14 
15 #include <Carna/Carna.h>
16 
21 namespace Carna
22 {
23 
24 namespace base
25 {
26 
27 
28 
29 // ----------------------------------------------------------------------------------
30 // BufferedVectorFieldFormat
31 // ----------------------------------------------------------------------------------
32 
36 template< typename BufferedVectorFieldType >
38 {
39  static_assert( sizeof( BufferedVectorFieldType ) == -1, "Unknown BufferedVectorFieldType." );
40 };
41 
42 
48 template< >
50 {
51  const static unsigned int INTERNAL_FORMAT;
52  const static unsigned int PIXEL_FORMAT;
53  const static unsigned int BUFFER_TYPE;
54 };
55 
56 
62 template< >
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< >
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 
86 template< >
88 {
89  const static unsigned int INTERNAL_FORMAT;
90  const static unsigned int PIXEL_FORMAT;
91  const static unsigned int BUFFER_TYPE;
92 };
93 
94 
95 
96 } // namespace Carna :: base
97 
98 } // namespace Carna
99 
100 #endif // BUFFEREDVECTORFIELDFORMAT_H_6014714286
Implements HUVolume generically for a particular VoxelType.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
Maps math::VectorField implementations to Texture formats.
Implements IntensityVolume generically for a particular VoxelType.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
Implements NormalMap3D generically for a particular VoxelType.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.
static const unsigned int BUFFER_TYPE
Specifies the data type of the pixel data to be uploaded to the texture.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int INTERNAL_FORMAT
Holds the number of color components in the texture, e.g. GL_RGBA8UI or GL_INTENSITY16.
static const unsigned int PIXEL_FORMAT
Holds the format of the pixel data, e.g. GL_RED, GL_RGB or GL_RGBA.