NDDEM
Functions | Variables
io.h File Reference
#include "TinyPngOut.hpp"
#include <string>
#include <vector>
#include "Tools.h"
#include <fstream>

Go to the source code of this file.

Functions

int write_colormap_vtk (int d, vector< vector< float >> &colors)
 Writer for VTK colormaps. More...
 
int write_NrrdIO (string path, int d, vector< vector< float >> &colors)
 Writer for NRRD colormaps. More...
 
int write_img (char path[], int w, int h, uint8_t *px)
 Write for png textures. More...
 
int csvread_A (const char path[], v2d &result, int d)
 Reader for CSV orientation informations. More...
 
int csvread_XR (const char path[], v2d &result, v1d &R, int d)
 Reader for CSV location informations. More...
 
void filepathname (char *path, int n, int time, cv1d View)
 Filename generator. More...
 
void phi2color (vector< uint8_t >::iterator px, cv1d &phi, int d, vector< vector< float >> &colors)
 Convert from hyperspherical coordinates to actual pixel color, using the provided vector of colors. More...
 

Variables

v1d lambdagrid
 
v1d thetagrid
 
string DirectorySave
 
uint d
 
int N
 
v2d Boundaries