tlp_GlScene3tulip
Usage
#include <GlScene.h>
Inherits tlp::GlObservableScene.
Public Member Functions
GlScene (GlLODCalculator *calculator=NULL)
void initGlParameters ()
void draw ()
void centerScene ()
void zoomXY (int step, const int x, const int y)
void zoom (float factor, const Coord &dest)
void zoom (int step)
void translateCamera (const int x, const int y, const int z)
void rotateScene (const int x, const int y, const int z)
bool selectEntities (SelectionFlag type, int x, int y, int h, int w, GlLayer *layer, std::vector< unsigned long > &selectedEntities)
void outputSVG (unsigned int size, const std::string &filename)
void outputEPS (unsigned int size, const std::string &filename)
unsigned char * getImage ()
void setViewport (Vector< int, 4 > newViewport)
void setViewport (int x, int y, int width, int height)
Vector< int, 4 > getViewport ()
void setBackgroundColor (const Color &color)
Color getBackgroundColor ()
void setViewOrtho (bool viewOrtho)
bool isViewOrtho ()
void setViewLabel (bool viewLabel)
void addLayer (GlLayer *layer)
GlLayer * getLayer (const std::string &name)
std::vector< std::pair< std::string, GlLayer * > > * getLayersList ()
void getXML (std::string &out)
void setWithXML (std::string &in, Graph *graph)
void addGlGraphCompositeInfo (GlLayer *layer, GlGraphComposite *glGraphComposite)
GlGraphComposite * getGlGraphComposite ()
GlLayer * getGraphLayer ()
GlLayer * getSelectionLayer ()
Camera * getCamera ()
void setCamera (Camera *camera)
Detailed Description
/brief Tulip scene class
Tulip scene class