TuttleOFX  1
ViewerAlgorithm.hpp File Reference
#include <terry/channel.hpp>
#include <tuttle/plugin/opengl/gl.h>
#include <GL/glut.h>
#include <GL/freeglut.h>
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for ViewerAlgorithm.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tuttle::plugin::viewer::ImgProperties

Namespaces

namespace  tuttle
 

This file provides a set of reimplementations of CImg functions by means of the generic image library (gil). Functions for image blurring.


namespace  tuttle::plugin
namespace  tuttle::plugin::viewer

Defines

#define SPACEBAR   32

Functions

void tuttle::plugin::viewer::reshape (int width, int height)
void tuttle::plugin::viewer::loadNewTexture (const ImgProperties &properties)
void tuttle::plugin::viewer::loadNewTexture (const char *data, GLint internalFormat, size_t width, size_t height, GLenum format, GLenum type)
void tuttle::plugin::viewer::reloadTexture ()
void tuttle::plugin::viewer::loadAlphaTexture ()
void tuttle::plugin::viewer::setTransfert (float red, float green, float blue, float alpha=1.f)
void tuttle::plugin::viewer::displayChannelTexture (bool &channel, const float red, const float green, const float blue)
void tuttle::plugin::viewer::showRedChannelTexture ()
void tuttle::plugin::viewer::showGreenChannelTexture ()
void tuttle::plugin::viewer::showBlueChannelTexture ()
void tuttle::plugin::viewer::showAlphaChannelTexture ()
void tuttle::plugin::viewer::display ()
void tuttle::plugin::viewer::idle ()
void tuttle::plugin::viewer::displayInformations ()
void tuttle::plugin::viewer::displayHelp ()
void tuttle::plugin::viewer::move (float x, float y)
void tuttle::plugin::viewer::zoom (float factor)
void tuttle::plugin::viewer::mapToImage (int x, int y, int &iX, int &iY)
void tuttle::plugin::viewer::keyboard (unsigned char k, int x, int y)
void tuttle::plugin::viewer::specialKeyboard (int k, int x, int y)
void tuttle::plugin::viewer::mouse (int button, int state, int x, int y)
void tuttle::plugin::viewer::motion (int x, int y)
void tuttle::plugin::viewer::openGLWindow (const size_t &width, const size_t &height)

Variables

char * tuttle::plugin::viewer::argv [2] = { (char*)"", NULL }
int tuttle::plugin::viewer::argc = 1
ImgProperties tuttle::plugin::viewer::img
int tuttle::plugin::viewer::windowID
int tuttle::plugin::viewer::angle_cam = 60
int tuttle::plugin::viewer::w_out
int tuttle::plugin::viewer::h_out
float tuttle::plugin::viewer::scale = 1.0
int tuttle::plugin::viewer::xMinViewport
int tuttle::plugin::viewer::yMinViewport
float tuttle::plugin::viewer::factorZoom = 1.25
float tuttle::plugin::viewer::currentZoom = 1.0
float tuttle::plugin::viewer::x1Quad
float tuttle::plugin::viewer::x2Quad
float tuttle::plugin::viewer::y1Quad
float tuttle::plugin::viewer::y2Quad
bool tuttle::plugin::viewer::flip = false
bool tuttle::plugin::viewer::flop = false
int tuttle::plugin::viewer::x_mouse_ref
int tuttle::plugin::viewer::y_mouse_ref
bool tuttle::plugin::viewer::showRedChannel = false
bool tuttle::plugin::viewer::showGreenChannel = false
bool tuttle::plugin::viewer::showBlueChannel = false
bool tuttle::plugin::viewer::showAlphaChannel = false

Define Documentation

#define SPACEBAR   32

Definition at line 19 of file ViewerAlgorithm.hpp.

Referenced by tuttle::plugin::viewer::keyboard().