#include <GUIAppBridge.h>
Public Member Functions | |
GUIAppBridge () | |
~GUIAppBridge () | |
bool | initOpenGL (void *handle, int sizex, int sizey) |
void | renderScene () |
void | resizeOpenGL (int sizex, int sizey) |
void | loadVolume (std::string fileName) |
void | setSclicingDirection (axisDirections aD) |
int | getVolumeWidth () |
int | getVolumeHeight () |
int | getVolumeDepth () |
void | setSliceNumber (int sliceNr) |
int | getHistLength () |
std::vector< int > | getHist () |
std::vector < TransferFunctionManager::InterpolationNode > | getInterpolationNodes () |
void | setInterpolationNode (int index, byte r, byte g, byte b, byte alpha, int value) |
void | updateLookUp () |
void | addInterpolationNode (byte r, byte g, byte b, byte alpha, int value) |
void | removeInterpolationNode (int index) |
void | setTransferActive (bool isActive) |
void | setViewMode (viewMode vm) |
void | rotateCamera (float xRotation, float yRotation) |
void | setRaycastMode (RaycastMode rM) |
void | setStepSize (float stepSize) |
void | setLum (float lum) |
void | setThreshold (float threshold) |
void | saveTransferFunction (std::string filename) |
void | loadTransferFunction (std::string filename) |
Private Attributes | |
Core * | application |
GUIAppBridge::GUIAppBridge | ( | ) |
GUIAppBridge::~GUIAppBridge | ( | ) |
std::vector< int > GUIAppBridge::getHist | ( | ) |
int GUIAppBridge::getHistLength | ( | ) |
std::vector< TransferFunctionManager::InterpolationNode > GUIAppBridge::getInterpolationNodes | ( | ) |
int GUIAppBridge::getVolumeDepth | ( | ) |
int GUIAppBridge::getVolumeHeight | ( | ) |
int GUIAppBridge::getVolumeWidth | ( | ) |
bool GUIAppBridge::initOpenGL | ( | void * | handle, | |
int | sizex, | |||
int | sizey | |||
) |
void GUIAppBridge::loadTransferFunction | ( | std::string | filename | ) |
void GUIAppBridge::loadVolume | ( | std::string | fileName | ) |
void GUIAppBridge::removeInterpolationNode | ( | int | index | ) |
void GUIAppBridge::renderScene | ( | ) |
void GUIAppBridge::resizeOpenGL | ( | int | sizex, | |
int | sizey | |||
) |
void GUIAppBridge::rotateCamera | ( | float | xRotation, | |
float | yRotation | |||
) |
void GUIAppBridge::saveTransferFunction | ( | std::string | filename | ) |
void GUIAppBridge::setInterpolationNode | ( | int | index, | |
byte | r, | |||
byte | g, | |||
byte | b, | |||
byte | alpha, | |||
int | value | |||
) |
void GUIAppBridge::setLum | ( | float | lum | ) |
void GUIAppBridge::setRaycastMode | ( | RaycastMode | rM | ) |
void GUIAppBridge::setSclicingDirection | ( | axisDirections | aD | ) |
void GUIAppBridge::setSliceNumber | ( | int | sliceNr | ) |
void GUIAppBridge::setStepSize | ( | float | stepSize | ) |
void GUIAppBridge::setThreshold | ( | float | threshold | ) |
void GUIAppBridge::setTransferActive | ( | bool | isActive | ) |
void GUIAppBridge::setViewMode | ( | viewMode | vm | ) |
void GUIAppBridge::updateLookUp | ( | ) |
Core* GUIAppBridge::application [private] |