Main Page
Namespaces
Namespace List
Namespace Members
All
Functions
Variables
Typedefs
Classes
Class List
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Enumerator
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
x
z
Related Functions
:
b
c
d
e
o
p
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
Functions
a
b
c
d
f
g
i
k
m
n
o
p
q
r
s
t
Variables
Typedefs
Enumerations
Enumerator
Macros
_
a
b
c
d
e
f
g
i
l
m
n
o
p
q
r
s
t
v
src
extern
QGLViewer
VRender
ParserGL.h
Go to the documentation of this file.
1
/*
2
This file is part of the VRender library.
3
Copyright (C) 2005 Cyril Soler (Cyril.Soler@imag.fr)
4
Version 1.0.0, released on June 27, 2005.
5
6
http://artis.imag.fr/Members/Cyril.Soler/VRender
7
8
VRender is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
12
13
VRender 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. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License
19
along with VRender; if not, write to the Free Software Foundation, Inc.,
20
51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
21
*/
22
23
/****************************************************************************
24
25
Copyright (C) 2002-2014 Gilles Debunne. All rights reserved.
26
27
This file is part of the QGLViewer library version 2.6.3.
28
29
http://www.libqglviewer.com - contact@libqglviewer.com
30
31
This file may be used under the terms of the GNU General Public License
32
versions 2.0 or 3.0 as published by the Free Software Foundation and
33
appearing in the LICENSE file included in the packaging of this file.
34
In addition, as a special exception, Gilles Debunne gives you certain
35
additional rights, described in the file GPL_EXCEPTION in this package.
36
37
libQGLViewer uses dual licensing. Commercial/proprietary software must
38
purchase a libQGLViewer Commercial License.
39
40
This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
41
WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
42
43
*****************************************************************************/
44
45
#ifndef _VRENDER_PARSERGL_H
46
#define _VRENDER_PARSERGL_H
47
48
// This class implements the conversion from OpenGL feedback buffer into more
49
// usable data structures such as points, segments, and polygons (See Primitive.h)
50
51
#include <vector>
52
#include "
Primitive.h
"
53
54
namespace
vrender
55
{
56
class
ParserGL
57
{
58
public
:
59
void
parseFeedbackBuffer
( GLfloat *,
60
int
size,
61
std::vector<PtrPrimitive>& primitive_tab,
62
VRenderParams& vparams) ;
63
void
printStats
()
const
;
64
65
inline
GLfloat
xmin
()
const
{
return
_xmin
; }
66
inline
GLfloat
ymin
()
const
{
return
_ymin
; }
67
inline
GLfloat
zmin
()
const
{
return
_zmin
; }
68
inline
GLfloat
xmax
()
const
{
return
_xmax
; }
69
inline
GLfloat
ymax
()
const
{
return
_ymax
; }
70
inline
GLfloat
zmax
()
const
{
return
_zmax
; }
71
private
:
72
int
nb_lines
;
73
int
nb_polys
;
74
int
nb_points
;
75
int
nb_degenerated_lines
;
76
int
nb_degenerated_polys
;
77
int
nb_degenerated_points
;
78
79
GLfloat
_xmin
;
80
GLfloat
_ymin
;
81
GLfloat
_zmin
;
82
GLfloat
_xmax
;
83
GLfloat
_ymax
;
84
GLfloat
_zmax
;
85
};
86
}
87
88
#endif
vrender::ParserGL::parseFeedbackBuffer
void parseFeedbackBuffer(GLfloat *, int size, std::vector< PtrPrimitive > &primitive_tab, VRenderParams &vparams)
Definition:
ParserGL.cpp:86
vrender::ParserGL::nb_polys
int nb_polys
Definition:
ParserGL.h:113
vrender::ParserGL::xmin
GLfloat xmin() const
Definition:
ParserGL.h:105
vrender::ParserGL::zmax
GLfloat zmax() const
Definition:
ParserGL.h:110
Primitive.h
vrender::ParserGL::zmin
GLfloat zmin() const
Definition:
ParserGL.h:107
vrender::ParserGL::ymin
GLfloat ymin() const
Definition:
ParserGL.h:106
vrender::ParserGL::nb_lines
int nb_lines
Definition:
ParserGL.h:112
vrender::ParserGL::_ymin
GLfloat _ymin
Definition:
ParserGL.h:120
vrender::ParserGL::xmax
GLfloat xmax() const
Definition:
ParserGL.h:108
vrender::ParserGL::_xmax
GLfloat _xmax
Definition:
ParserGL.h:122
vrender::ParserGL::printStats
void printStats() const
vrender::ParserGL::nb_degenerated_lines
int nb_degenerated_lines
Definition:
ParserGL.h:115
vrender::ParserGL::_ymax
GLfloat _ymax
Definition:
ParserGL.h:123
vrender::ParserGL::nb_degenerated_polys
int nb_degenerated_polys
Definition:
ParserGL.h:116
vrender::ParserGL::nb_degenerated_points
int nb_degenerated_points
Definition:
ParserGL.h:117
vrender::ParserGL::_xmin
GLfloat _xmin
Definition:
ParserGL.h:119
vrender
Definition:
AxisAlignedBox.h:48
vrender::ParserGL::_zmax
GLfloat _zmax
Definition:
ParserGL.h:124
vrender::ParserGL::nb_points
int nb_points
Definition:
ParserGL.h:114
vrender::ParserGL::ymax
GLfloat ymax() const
Definition:
ParserGL.h:109
vrender::ParserGL::_zmin
GLfloat _zmin
Definition:
ParserGL.h:121
octovis
Author(s): Kai M. Wurm
, Armin Hornung
autogenerated on Thu Apr 3 2025 02:40:44