Volume Renderer DoF
TransferFunction.h
Go to the documentation of this file.
1 #pragma once
2 
6  TransferFunction(int f, int s, float o, float c[3]) {
7  firstValue = f;
8  secondValue = s;
9  optValue = o;
10  color[0] = c[0];
11  color[1] = c[1];
12  color[2] = c[2];
13  }
14 
16  int firstValue = 0;
17 
19  int secondValue = 255;
20 
22  float optValue = 0.01;
23 
25  float color[3] = {1, 0, 0};
26 };
int secondValue
Definition: TransferFunction.h:19
float color[3]
Definition: TransferFunction.h:25
TransferFunction(int f, int s, float o, float c[3])
Definition: TransferFunction.h:6
int firstValue
Definition: TransferFunction.h:16
float optValue
Definition: TransferFunction.h:22
Definition: TransferFunction.h:4
TransferFunction()
Definition: TransferFunction.h:5