ROOT
Version master
master
v6.34
v6.32
v6.30
v6.28
v6.26
v6.24
v6.22
v6.20
v6.18
v6.16
v6.14
v6.12
v6.10
v6.08
v6.06
v6.04
Reference Guide
▼
ROOT
ROOT Reference Documentation
Tutorials
►
Functional Parts
►
Namespaces
►
All Classes
▼
Files
▼
File List
►
bindings
►
core
►
documentation
►
geom
►
graf2d
▼
graf3d
►
eve
►
eve7
▼
g3d
doc
▼
inc
TAxis3D.h
TBRIK.h
TCONE.h
TCONS.h
TCTUB.h
TELTU.h
►
TGeometry.h
TGTRA.h
►
THelix.h
THYPE.h
TMarker3DBox.h
TMaterial.h
TMixture.h
TNode.h
TNodeDiv.h
TPARA.h
►
TPCON.h
TPGON.h
TPoints3DABC.h
TPointSet3D.h
TPolyLine3D.h
TPolyMarker3D.h
TRotMatrix.h
►
TShape.h
TSPHE.h
TTRAP.h
TTRD1.h
TTRD2.h
►
TTUBE.h
TTUBS.h
TView3D.h
TXTRU.h
►
X3DBuffer.h
►
src
►
gl
►
gviz3d
►
gui
►
hist
►
io
►
main
►
master
►
math
►
montecarlo
►
net
►
proof
►
roofit
►
sql
►
tmva
►
tree
►
tutorials
►
File Members
Release Notes
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Loading...
Searching...
No Matches
X3DBuffer.h
Go to the documentation of this file.
1
/* @(#)root/g3d:$Id$ */
2
/* Author: Nenad Buncic 13/12/95*/
3
4
/*************************************************************************
5
* Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
6
* All rights reserved. *
7
* *
8
* For the licensing terms see $ROOTSYS/LICENSE. *
9
* For the list of contributors see $ROOTSYS/README/CREDITS. *
10
*************************************************************************/
11
12
#ifndef ROOT_X3DBuffer
13
#define ROOT_X3DBuffer
14
15
typedef
struct
_x3d_data_
{
16
int
numPoints
;
17
int
numSegs
;
18
int
numPolys
;
19
float
*
points
;
/* x0, y0, z0, x1, y1, z1, ..... ..... .... */
20
int
*
segs
;
/* c0, p0, q0, c1, p1, q1, ..... ..... .... */
21
int
*
polys
;
/* c0, n0, s0, s1, ... sn, c1, n1, s0, ... sn */
22
}
X3DBuffer
;
23
24
typedef
struct
_x3d_sizeof_
{
25
int
numPoints
;
26
int
numSegs
;
27
int
numPolys
;
28
}
Size3D
;
29
30
#ifdef __cplusplus
31
extern
"C"
int
AllocateX3DBuffer
();
32
extern
"C"
void
FillX3DBuffer
(
X3DBuffer
*
buff
);
33
extern
"C"
Size3D
*
gFuncSize3D
();
34
#else
35
extern
int
AllocateX3DBuffer
();
36
extern
void
FillX3DBuffer
(
X3DBuffer
*
buff
);
37
extern
Size3D
*
gFuncSize3D
();
38
#endif
39
40
#define gSize3D (*gFuncSize3D())
41
42
#endif
Size3D
struct _x3d_sizeof_ Size3D
AllocateX3DBuffer
int AllocateX3DBuffer()
Definition
X3DBuffer.c:27
X3DBuffer
struct _x3d_data_ X3DBuffer
gFuncSize3D
Size3D * gFuncSize3D()
Definition
X3DBuffer.c:10
FillX3DBuffer
void FillX3DBuffer(X3DBuffer *buff)
Definition
X3DBuffer.c:142
ROOT::Detail::TRangeCast
Definition
TCollection.h:311
_x3d_data_
Definition
X3DBuffer.h:15
_x3d_data_::points
float * points
Definition
X3DBuffer.h:19
_x3d_data_::numSegs
int numSegs
Definition
X3DBuffer.h:17
_x3d_data_::numPolys
int numPolys
Definition
X3DBuffer.h:18
_x3d_data_::numPoints
int numPoints
Definition
X3DBuffer.h:16
_x3d_data_::segs
int * segs
Definition
X3DBuffer.h:20
_x3d_data_::polys
int * polys
Definition
X3DBuffer.h:21
_x3d_sizeof_
Definition
X3DBuffer.h:24
_x3d_sizeof_::numSegs
int numSegs
Definition
X3DBuffer.h:26
_x3d_sizeof_::numPoints
int numPoints
Definition
X3DBuffer.h:25
_x3d_sizeof_::numPolys
int numPolys
Definition
X3DBuffer.h:27
graf3d
g3d
inc
X3DBuffer.h
ROOT master - Reference Guide Generated on Thu Feb 20 2025 04:19:34 (GVA Time) using Doxygen 1.10.0