Tulip  4.2.0
Better Visualization Through Research
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Properties Groups Pages
EpsFunction.h
1 /*
2  *
3  * This file is part of Tulip (www.tulip-software.org)
4  *
5  * Authors: David Auber and the Tulip development Team
6  * from LaBRI, University of Bordeaux 1 and Inria Bordeaux - Sud Ouest
7  *
8  * Tulip is free software; you can redistribute it and/or modify
9  * it under the terms of the GNU Lesser General Public License
10  * as published by the Free Software Foundation, either version 3
11  * of the License, or (at your option) any later version.
12  *
13  * Tulip is distributed in the hope that it will be useful,
14  * but WITHOUT ANY WARRANTY; without even the implied warranty of
15  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16  * See the GNU General Public License for more details.
17  *
18  */
19 ///@cond DOXYGEN_HIDDEN
20 
21 #ifndef EPSFUNCTION
22 #define EPSFUNCTION
23 #ifndef DOXYGEN_NOTFOR_DEVEL
24 //====================================================
25 #include <stdio.h>
26 #include <tulip/Color.h>
27 #include <tulip/OpenGlConfigManager.h>
28 
29 namespace tlp {
30 
31 void Line(float x1,float y1,float z1,float x2, float y2 , float z2, Color C1, Color C2);
32 void Rect(float x, float y , float z, float w , float h);
33 GLfloat *spewPrimitiveEPS(FILE * file, GLfloat * loc);
34 void spewUnsortedFeedback(FILE * file, GLint size, GLfloat * buffer);
35 int compare(const void *a, const void *b);
36 void spewSortedFeedback(FILE * file, GLint size, GLfloat * buffer);
37 void spewWireFrameEPS(FILE * file, int doSort, GLint size, GLfloat * buffer, char *creator);
38 void print3DcolorVertex(GLint size, GLint * count, GLfloat * buffer);
39 void printBuffer(GLint size, GLfloat * buffer);
40 
41 }
42 #endif //DOXYGEN_NOTFOR_DEVEL
43 #endif
44 ///@endcond