|
| 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...
|
| |
| map< string, string > | parse_url (string &url) |
| |
| template<int d> |
| void | runthread_MasterRender (Texturing< d > *T) |
| | Function to call Texturing::MasterRender() More...
|
| |
| int | main (int argc, char *argv[]) |
| | Starts the server and handles the dispatching of the various commands. Default port is 54321. More...
|
| |
| void | dispvector (const v1d &a) |
| | Convenient function to print a vector on screen. More...
|
| |
| void | dispvector (const v1f &a) |
| | Convenient function to print a vector on screen. More...
|
| |
| void | dispvector (const vector< int > &a) |
| | Convenient function to print a vector on screen. More...
|
| |
| template<int d> |
| void | runthread_timeloop (Texturing< d > *T, v1d View, uint tsint, int nrotate) |
| | Function to call Texturing::timeloop() More...
|
| |
| template<int d> |
| void | runthread_spaceloop (Texturing< d > *T, v1d View, uint tsint, int nrotate, int dim) |
| | Function to call Texturing::spaceloop() More...
|
| |
| int | Texturing< d >::initialise (map< string, string > args) |
| | Loads all the data for the requested simulation in memory. More...
|
| |
| int | Texturing< d >::clean () |
| | Clean the data to get ready for another simulation rendering. More...
|
| |
| int | Texturing< d >::SetNewViewPoint (map< string, string > args) |
| | Modify the current location and/or timestep en render. More...
|
| |
| bool | Texturing< d >::isrendered () |
| | Verify if the current location/timestep is already rendered. More...
|
| |
| int | Texturing< d >::MasterRender () |
| | Handle the rendering threads. More...
|
| |
| void | Texturing< d >::spaceloop (v1d View, uint tsint, int nrotate, int dim) |
| | Run all the rendering in the current location, at all timesteps. More...
|
| |
| void | Texturing< d >::timeloop (v1d View, uint tsint, int nrotate) |
| | Run all the rendering for the curent timestep, for all other location in dimensions higher than 3D view (ie. 4th dim, 5dim etc), varying only 1 dimension at a time. More...
|
| |
| void | Texturing< d >::hereandnow (v1d View, uint tsint, int nrotate) |
| | Render the current location at the current timestep. More...
|
| |
| void | Texturing< d >::Render (vector< string > &filerendered, cv1d &View, int nrotate, int time, cv2d &X, cv1d &R, cv2d &A) |
| | Do the actual rendering of the textures. More...
|
| |
| int | Texturing< d >::set_grid (int nb) |
| | Set the grid in latitude-longitude. More...
|
| |
| int | Texturing< d >::viewpermute (v1d &View) |
| | Rotate the viewpoint so that the rendered view is using the first 3 dimensions. Effectively unused since the visualisation only handles the rendring of the first 3 dimensions currently. More...
|
| |
| void | Texturing< d >::filepathname (char *path, int n, int time, cv1d &View) |
| | Generates the proper texture name. More...
|
| |
| void | Texturing< d >::filepathname (char *path, int time, cv1d &View) |
| | Generates the proper texture name. More...
|
| |
| int | Texturing< d >::write_colormap_vtk_base () |
| | Output the colormap as a vtk volume. More...
|
| |
| int | Texturing< d >::write_colormap_nrrd_base (map< string, string > args) |
| | Output the texture as an NRRD file. More...
|
| |
| int | Texturing< d >::write_vtkmap (map< string, string > args) |
| | Outputs the texture as a vtk surface. More...
|
| |
| int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
Starts the server and handles the dispatching of the various commands. Default port is 54321.
URL Commands:
/load : load the data. Should always be called first.
/render : renders the current timestep and location, and may also cache some additional ts and locations
/forcerender : DEPRECATED
/vtkcolormap : export the colormap in vtk format
/nrrdcolormap : export the colormap in nrrd format
/vtkmap : export the textures as vtk surfaces through the colormap instead of plane textures.