Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

data.h File Reference

#include <stdio.h>
#include <string>

Go to the source code of this file.

Compounds

class  Data
struct  gradient_t

Defines

#define MB_TO_DATASET_THRES(x)   ((x) << 19)
#define DATASET_TO_MB(x)   ((x) >> 19)

Functions

gradient_t operator * (gradient_t g, float s)
 Multiplikation eines Gradientenvektors mit einem Skalar.

gradient_t operator+ (gradient_t g1, gradient_t g2)
 Addition zweier Gradientenvektoren.


Define Documentation

#define DATASET_TO_MB      ((x) >> 19)
 

Definition at line 11 of file data.h.

Referenced by Data::LoadData().

#define MB_TO_DATASET_THRES      ((x) << 19)
 

Definition at line 10 of file data.h.

Referenced by Data::Data(), and Data::SetDataPackets().


Function Documentation

gradient_t operator * gradient_t    g,
float    s
 

Multiplikation eines Gradientenvektors mit einem Skalar.

Definition at line 8 of file data.cpp.

References gradient_t::x, gradient_t::y, and gradient_t::z.

00009 {
00010         gradient_t res;
00011         res.x = g.x * s;
00012         res.y = g.y * s;
00013         res.z = g.z * s;
00014         return res;
00015 }

gradient_t operator+ gradient_t    g1,
gradient_t    g2
 

Addition zweier Gradientenvektoren.

Definition at line 18 of file data.cpp.

References gradient_t::x, gradient_t::y, and gradient_t::z.

00019 {
00020         gradient_t res;
00021         res.x = g1.x + g2.x;
00022         res.y = g1.y + g2.y;
00023         res.z = g1.z + g2.z;
00024         return res;
00025 }


Generated on Thu Jan 30 21:35:44 2003 for 3DVis by doxygen1.3-rc2