View on GitHub
Vistle
Distributed Data-parallel Scientific Visualization in VR
Overview
Architecture
API
Publications
Gallery
core
scalar.h
Go to the documentation of this file.
1
#ifndef SCALAR_H
2
#define SCALAR_H
3
4
#include <cinttypes>
5
6
namespace
vistle
{
7
8
// used for mapped data
9
typedef
unsigned
char
Byte
;
10
11
#ifdef VISTLE_SCALAR_DOUBLE
12
typedef
double
Scalar
;
// also used for coordinates
13
#else
14
typedef
float
Scalar
;
// also used for coordinates
15
#endif
16
17
// used for parameters
18
typedef
double
Float
;
19
typedef
int64_t
Integer
;
20
21
}
// namespace vistle
22
23
#endif
vistle
Definition:
allobjects.cpp:30
vistle::Byte
unsigned char Byte
Definition:
scalar.h:9
vistle::Float
double Float
Definition:
scalar.h:18
vistle::Scalar
float Scalar
Definition:
scalar.h:14
vistle::Integer
int64_t Integer
Definition:
scalar.h:19