GLVis  v4.2
Accurate and flexible finite element visualization
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Functions
js Namespace Reference

Functions

bool startVisualization (const std::string input, const std::string data_type, int w, int h)
 
int updateVisualization (std::string data_type, std::string stream)
 
void iterVisualization ()
 
void setCanvasId (const std::string &id)
 
void disableKeyHandling ()
 
void enableKeyHandling ()
 
void setKeyboardListeningElementId (const std::string &id)
 
void processKeys (const std::string &keys)
 
void processKey (int sym, bool ctrl=false, bool shift=false, bool alt=false)
 
void setupResizeEventCallback (const std::string &id)
 
std::string getHelpString ()
 
em::val getScreenBuffer (bool flip_y=false)
 
em::val getPNGByteArray ()
 

Function Documentation

void js::disableKeyHandling ( )

Definition at line 272 of file aux_js.cpp.

void js::enableKeyHandling ( )

Definition at line 278 of file aux_js.cpp.

std::string js::getHelpString ( )

Definition at line 320 of file aux_js.cpp.

em::val js::getPNGByteArray ( )

Definition at line 370 of file aux_js.cpp.

em::val js::getScreenBuffer ( bool  flip_y = false)

Definition at line 327 of file aux_js.cpp.

void js::iterVisualization ( )

Definition at line 261 of file aux_js.cpp.

void js::processKey ( int  sym,
bool  ctrl = false,
bool  shift = false,
bool  alt = false 
)

Definition at line 294 of file aux_js.cpp.

void js::processKeys ( const std::string &  keys)

Definition at line 289 of file aux_js.cpp.

void js::setCanvasId ( const std::string &  id)

Definition at line 266 of file aux_js.cpp.

void js::setKeyboardListeningElementId ( const std::string &  id)

Definition at line 284 of file aux_js.cpp.

void js::setupResizeEventCallback ( const std::string &  id)

Definition at line 303 of file aux_js.cpp.

bool js::startVisualization ( const std::string  input,
const std::string  data_type,
int  w,
int  h 
)

Definition at line 45 of file aux_js.cpp.

int js::updateVisualization ( std::string  data_type,
std::string  stream 
)

Definition at line 229 of file aux_js.cpp.