Carna  Version 3.0.1
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 
46 template< >
48 {
49  const static unsigned int INTERNAL_FORMAT;
50  const static unsigned int PIXEL_FORMAT;
51  const static unsigned int BUFFER_TYPE;
52 };
53 
54 
58 template< >
60 {
61  const static unsigned int INTERNAL_FORMAT;
62  const static unsigned int PIXEL_FORMAT;
63  const static unsigned int BUFFER_TYPE;
64 };
65 
66 
67 
68 } // namespace Carna :: base
69 
70 } // namespace Carna
71 
72 #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.
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 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.