1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
|
<html>
<head>
<title>NVIDIA(R) Flow(R) 1.0.1 API Reference: NvFlowCrossSection</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<LINK HREF="NVIDIA.css" REL="stylesheet" TYPE="text/css">
</head>
<body bgcolor="#FFFFFF">
<div id="header">
<hr class="first">
<img alt="" src="nvflow_logo.png">
<br>
<hr class="second">
</div>
<!-- Generated by Doxygen 1.5.8 -->
<div class="navigation" id="top">
<div class="tabs">
<ul>
<li><a href="main.html"><span>Main Page</span></a></li>
<li><a href="modules.html"><span>Modules</span></a></li>
<li><a href="files.html"><span>Files</span></a></li>
</ul>
</div>
</div>
<div class="contents">
<h1>NvFlowCrossSection</h1><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Data Structures</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_nv_flow_cross_section_desc.html">NvFlowCrossSectionDesc</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Description required to create cross section object. <a href="struct_nv_flow_cross_section_desc.html#_details">More...</a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">struct </td><td class="memItemRight" valign="bottom"><a class="el" href="struct_nv_flow_cross_section_params.html">NvFlowCrossSectionParams</a></td></tr>
<tr><td class="mdescLeft"> </td><td class="mdescRight">Parameters needed to render cross section. <a href="struct_nv_flow_cross_section_params.html#_details">More...</a><br></td></tr>
<tr><td colspan="2"><br><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">NvFlowCrossSection * </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nv_flow_cross_section.html#g01e77a679f29b771439274d9e818fa1b">NvFlowCreateCrossSection</a> (NvFlowContext *context, const <a class="el" href="struct_nv_flow_cross_section_desc.html">NvFlowCrossSectionDesc</a> *desc)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nv_flow_cross_section.html#gfe60238065d87bf15cf6aff8fa2a6255">NvFlowCrossSectionParamsDefaults</a> (<a class="el" href="struct_nv_flow_cross_section_params.html">NvFlowCrossSectionParams</a> *params)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nv_flow_cross_section.html#g697fd0442e285c25388297167ffdbf5d">NvFlowCrossSectionRender</a> (NvFlowCrossSection *crossSection, NvFlowContext *context, const <a class="el" href="struct_nv_flow_cross_section_params.html">NvFlowCrossSectionParams</a> *params)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="group___nv_flow_cross_section.html#g04c8de7d399c30d18c67c6c809b85f12">NvFlowReleaseCrossSection</a> (NvFlowCrossSection *crossSection)</td></tr>
</table>
<hr><h2>Function Documentation</h2>
<a class="anchor" name="g01e77a679f29b771439274d9e818fa1b"></a><!-- doxytag: member="NvFlow.h::NvFlowCreateCrossSection" ref="g01e77a679f29b771439274d9e818fa1b" args="(NvFlowContext *context, const NvFlowCrossSectionDesc *desc)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">NvFlowCrossSection* NvFlowCreateCrossSection </td>
<td>(</td>
<td class="paramtype">NvFlowContext * </td>
<td class="paramname"> <em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_nv_flow_cross_section_desc.html">NvFlowCrossSectionDesc</a> * </td>
<td class="paramname"> <em>desc</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Creates a cross section object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>context</em> </td><td>The context for GPU resource allocation. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>desc</em> </td><td>Description for memory allocation.</td></tr>
</table>
</dl>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The created cross section object. </dd></dl>
</div>
</div><p>
<a class="anchor" name="gfe60238065d87bf15cf6aff8fa2a6255"></a><!-- doxytag: member="NvFlow.h::NvFlowCrossSectionParamsDefaults" ref="gfe60238065d87bf15cf6aff8fa2a6255" args="(NvFlowCrossSectionParams *params)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NvFlowCrossSectionParamsDefaults </td>
<td>(</td>
<td class="paramtype"><a class="el" href="struct_nv_flow_cross_section_params.html">NvFlowCrossSectionParams</a> * </td>
<td class="paramname"> <em>params</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Allows the application to request default cross section parameters from Flow.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[out]</tt> </td><td valign="top"><em>params</em> </td><td>The parameters for Flow to fill out. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="g697fd0442e285c25388297167ffdbf5d"></a><!-- doxytag: member="NvFlow.h::NvFlowCrossSectionRender" ref="g697fd0442e285c25388297167ffdbf5d" args="(NvFlowCrossSection *crossSection, NvFlowContext *context, const NvFlowCrossSectionParams *params)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NvFlowCrossSectionRender </td>
<td>(</td>
<td class="paramtype">NvFlowCrossSection * </td>
<td class="paramname"> <em>crossSection</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">NvFlowContext * </td>
<td class="paramname"> <em>context</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">const <a class="el" href="struct_nv_flow_cross_section_params.html">NvFlowCrossSectionParams</a> * </td>
<td class="paramname"> <em>params</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Renders a cross section of a grid export.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>crossSection</em> </td><td>The cross section object. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>context</em> </td><td>The context that allocated the cross section object. </td></tr>
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>params</em> </td><td>Parameters for cross section rendering. </td></tr>
</table>
</dl>
</div>
</div><p>
<a class="anchor" name="g04c8de7d399c30d18c67c6c809b85f12"></a><!-- doxytag: member="NvFlow.h::NvFlowReleaseCrossSection" ref="g04c8de7d399c30d18c67c6c809b85f12" args="(NvFlowCrossSection *crossSection)" -->
<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">void NvFlowReleaseCrossSection </td>
<td>(</td>
<td class="paramtype">NvFlowCrossSection * </td>
<td class="paramname"> <em>crossSection</em> </td>
<td> ) </td>
<td></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Releases a cross section object.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
<table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><tt>[in]</tt> </td><td valign="top"><em>crossSection</em> </td><td>The cross section object to be released. </td></tr>
</table>
</dl>
</div>
</div><p>
</div>
<!-- start footer part -->
<div class="footer">
Copyright © 2014-2016 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a>
</div>
</body>
</html>
|