src/GLViewer/GLViewer_BaseObjects.cxx File Reference

#include "GLViewer_BaseObjects.h"
#include "GLViewer_BaseDrawers.h"
#include "GLViewer_AspectLine.h"
#include "GLViewer_CoordSystem.h"
#include "GLViewer_Text.h"
#include "GLViewer_Group.h"
#include "GLViewer_Drawer.h"

Include dependency graph for GLViewer_BaseObjects.cxx:


Defines

#define SECTIONS   100
#define DISTANTION   5

Functions

void AddCoordsToHPGL (QString &buffer, QString command, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS, double x, double y, bool NewLine=true)
void AddCoordsToPS (QString &buffer, QString command, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS, double x, double y, bool NewLine=true)
void AddLineAspectToPS (QString &buffer, GLViewer_AspectLine *anAspect, GLViewer_CoordSystem *aViewerCS, GLViewer_CoordSystem *aPaperCS)

Define Documentation

#define SECTIONS   100
 

#define DISTANTION   5
 


Function Documentation

void AddCoordsToHPGL QString &  buffer,
QString  command,
GLViewer_CoordSystem aViewerCS,
GLViewer_CoordSystem aPaperCS,
double  x,
double  y,
bool  NewLine = true
 

Adds coords to text buffer in HPGL format

Parameters:
buffer - text buffer
command - command to be added with coords
aViewerCS - viewer co-ordinates system
aPaperCS - paper co-ordinates system
x - x co-ordinate
y - y co-ordinate
NewLine - adds new line to buffer

void AddCoordsToPS QString &  buffer,
QString  command,
GLViewer_CoordSystem aViewerCS,
GLViewer_CoordSystem aPaperCS,
double  x,
double  y,
bool  NewLine = true
 

Adds coords to text buffer in PostScript format

Parameters:
buffer - text buffer
command - command to be added with coords
aViewerCS - viewer co-ordinates system
aPaperCS - paper co-ordinates system
x - x co-ordinate
y - y co-ordinate
NewLine - adds new line to buffer

void AddLineAspectToPS QString &  buffer,
GLViewer_AspectLine anAspect,
GLViewer_CoordSystem aViewerCS,
GLViewer_CoordSystem aPaperCS
 

Adds line aspect description to text buffer in PostScript format

Parameters:
buffer - text buffer
anAspect - line aspect
aViewerCS - viewer co-ordinates system
aPaperCS - paper co-ordinates system