File: classopenvrml_1_1node__class.html

package info (click to toggle)
openvrml 0.14.3-3
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 20,376 kB
  • ctags: 8,933
  • sloc: cpp: 50,342; sh: 8,261; ansic: 2,726; java: 1,999; makefile: 608
file content (425 lines) | stat: -rw-r--r-- 31,227 bytes parent folder | download
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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
               "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>openvrml::node_class class Reference</title>
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<link rel="icon" href="../vrml-16">
<link rel="start" href="http://openvrml.org/index" title="OpenVRML Home">
<link rel="prev" href="http://openvrml.org/discussion" title="Discussion">
<link rel="contents" href="index" title="Documentation Main Page">
<link rel="index" href="functions" title="OpenVRML Compound Members">
<link rel="appendix" href="conformance" title="Conformance Test Results">
<style type="text/css">
@import url("doxygen.css");
@import url("http://openvrml.org/openvrml.css");

.body td {
  background-color: transparent;
}

div.qindex {
  background-color: transparent;
  border: none;
}
a.qindex {
  text-decoration: inherit;
  color: inherit
}
a.qindex:visited {
  text-decoration: inherit;
  font-weight: inherit;
  color: inherit
}
a.qindex:hover {
  text-decoration: inherit;
  background-color: transparent;
}
a.qindexHL {
  text-decoration: inherit;
  font-weight: inherit;
  background-color: transparent;
  color: inherit;
}
a.qindexHL:hover {
  text-decoration: inherit;
  background-color: transparent;
  color: inherit;
}
a.qindexHL:visited {
  text-decoration: inherit;
  background-color: transparent;
  color: inherit;
}
a.el {
  text-decoration: inherit;
  font-weight: inherit
}
a.elRef {
  font-weight: inherit
}
a.code {
  text-decoration: inherit;
  font-weight: inherit;
  color: inherit;
}
a.codeRef {
  font-weight: normal;
  color: inherit;
}
a:hover {
  text-decoration: inherit;
  background-color: inherit;
}

h1 {
  line-height: 1.2em;
}

div.qindex {
  font-size: smaller;
}

div.qindex .qindex:link, div.qindex .qindex:visited {
  font-weight: inherit;
}

div.qindex .qindexHL:link, div.qindex .qindexHL:visited {
  font-weight: bold;
}

td.memItemLeft, td.memItemRight, .mdRow td {
  font-family: "Bitstream Vera Sans Mono",
               "LucidaTypewriter",
               "Lucida Console",
               monospace;
}

td.memItemLeft, td.memItemRight, td.mdescLeft, td.mdescRight {
  background-color: rgb(95%, 95%, 95%);
}

.mdRow {
  background-color: rgb(95%, 95%, 95%);
}

.mdTable {
  background-color: rgb(95%, 95%, 95%);
}

.mdRow td {
  background-color: rgb(95%, 95%, 95%);
}

.mdRow td code {
  font-family: sans-serif;
  font-style: italic;
}
</style>
</head>
<body>
<table class="sitenav">
  <tr>
    <th><a href="http://openvrml.org/index" title="Home">Home</a></th>
    <th><a href="http://openvrml.org/download" title="Download">Download</a></th>
    <th><a href="http://openvrml.org/screenshots/index" title="Screen shots">Screen shots</a></th>
    <th><a href="http://openvrml.org/discussion" title="Mailing lists and IRC">Discussion</a></th>
    <th>Documentation</th>
  </tr>
</table>
<div class="body">
<!-- Generated by Doxygen 1.3.4-20031112 -->
<div class="qindex"><a class="qindex" href="index.html">Main&nbsp;Page</a> | <a class="qindex" href="modules.html">Modules</a> | <a class="qindex" href="namespaces.html">Namespace List</a> | <a class="qindex" href="hierarchy.html">Class&nbsp;Hierarchy</a> | <a class="qindex" href="annotated.html">Class&nbsp;List</a> | <a class="qindex" href="namespacemembers.html">Namespace&nbsp;Members</a> | <a class="qindex" href="functions.html">Class&nbsp;Members</a> | <a class="qindex" href="pages.html">Related&nbsp;Pages</a></div>
<h1>openvrml::node_class Class Reference</h1>A class object for node instances.  
<a href="#_details">More...</a>
<p>
Inheritance diagram for openvrml::node_class:<p><center><img src="classopenvrml_1_1node__class__inherit__graph.png" border="0" usemap="#openvrml_1_1node__class__inherit__map" alt="Inheritance graph"></center>
<map name="openvrml_1_1node__class__inherit__map">
<area href="classopenvrml_1_1script__node__class.html" shape="rect" coords="283,5,464,24" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1anchor__class.html" shape="rect" coords="255,48,492,67" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1appearance__class.html" shape="rect" coords="240,91,507,109" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1audio__clip__class.html" shape="rect" coords="245,133,501,152" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1background__class.html" shape="rect" coords="241,176,505,195" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1billboard__class.html" shape="rect" coords="249,219,497,237" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1box__class.html" shape="rect" coords="264,261,483,280" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1collision__class.html" shape="rect" coords="252,304,495,323" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1color__class.html" shape="rect" coords="261,347,485,365" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1color__interpolator__class.html" shape="rect" coords="223,389,524,408" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1cone__class.html" shape="rect" coords="261,432,485,451" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1coordinate__class.html" shape="rect" coords="245,475,501,493" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1coordinate__interpolator__class.html" shape="rect" coords="207,517,540,536" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1cylinder__class.html" shape="rect" coords="252,560,495,579" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1cylinder__sensor__class.html" shape="rect" coords="228,603,519,621" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1directional__light__class.html" shape="rect" coords="229,645,517,664" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1elevation__grid__class.html" shape="rect" coords="235,688,512,707" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1extrusion__class.html" shape="rect" coords="248,731,499,749" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1fog__class.html" shape="rect" coords="267,773,480,792" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1font__style__class.html" shape="rect" coords="247,816,500,835" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1group__class.html" shape="rect" coords="259,859,488,877" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1image__texture__class.html" shape="rect" coords="233,901,513,920" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1indexed__face__set__class.html" shape="rect" coords="224,944,523,963" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1indexed__line__set__class.html" shape="rect" coords="225,987,521,1005" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1inline__class.html" shape="rect" coords="260,1029,487,1048" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1lod__class.html" shape="rect" coords="267,1072,480,1091" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1material__class.html" shape="rect" coords="252,1115,495,1133" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1movie__texture__class.html" shape="rect" coords="233,1157,513,1176" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1navigation__info__class.html" shape="rect" coords="232,1200,515,1219" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1normal__class.html" shape="rect" coords="255,1243,492,1261" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1normal__interpolator__class.html" shape="rect" coords="217,1285,529,1304" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1orientation__interpolator__class.html" shape="rect" coords="207,1328,540,1347" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1pixel__texture__class.html" shape="rect" coords="237,1371,509,1389" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1plane__sensor__class.html" shape="rect" coords="235,1413,512,1432" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1point__light__class.html" shape="rect" coords="245,1456,501,1475" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1point__set__class.html" shape="rect" coords="248,1499,499,1517" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1position__interpolator__class.html" shape="rect" coords="215,1541,532,1560" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1proximity__sensor__class.html" shape="rect" coords="224,1584,523,1603" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1scalar__interpolator__class.html" shape="rect" coords="220,1627,527,1645" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1shape__class.html" shape="rect" coords="257,1669,489,1688" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1sound__class.html" shape="rect" coords="257,1712,489,1731" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1sphere__class.html" shape="rect" coords="255,1755,492,1773" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1sphere__sensor__class.html" shape="rect" coords="231,1797,516,1816" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1spot__light__class.html" shape="rect" coords="247,1840,500,1859" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1switch__class.html" shape="rect" coords="257,1883,489,1901" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1text__class.html" shape="rect" coords="264,1925,483,1944" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1texture__coordinate__class.html" shape="rect" coords="220,1968,527,1987" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1texture__transform__class.html" shape="rect" coords="223,2011,524,2029" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1time__sensor__class.html" shape="rect" coords="239,2053,508,2072" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1touch__sensor__class.html" shape="rect" coords="235,2096,512,2115" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1transform__class.html" shape="rect" coords="247,2139,500,2157" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1viewpoint__class.html" shape="rect" coords="248,2181,499,2200" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1visibility__sensor__class.html" shape="rect" coords="227,2224,520,2243" alt="">
<area href="classopenvrml_1_1vrml97__node_1_1world__info__class.html" shape="rect" coords="245,2267,501,2285" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for openvrml::node_class:<p><center><img src="classopenvrml_1_1node__class__coll__graph.png" border="0" usemap="#openvrml_1_1node__class__coll__map" alt="Collaboration graph"></center>
<map name="openvrml_1_1node__class__coll__map">
<area href="classopenvrml_1_1script__node__class.html" shape="rect" coords="275,108,456,126" alt="">
<area href="classopenvrml_1_1node__type.html" shape="rect" coords="7,153,143,172" alt="">
<area href="classopenvrml_1_1browser.html" shape="rect" coords="336,198,456,217" alt="">
<area href="classopenvrml_1_1scene.html" shape="rect" coords="269,289,379,308" alt="">
<area href="classopenvrml_1_1node.html" shape="rect" coords="153,380,255,398" alt="">
<area href="structopenvrml_1_1browser_1_1event.html" shape="rect" coords="656,108,816,126" alt="">
<area href="classopenvrml_1_1node__ptr.html" shape="rect" coords="487,17,612,36" alt="">
<area href="classopenvrml_1_1field__value.html" shape="rect" coords="668,17,804,36" alt="">
<area href="classopenvrml_1_1viewpoint__node.html" shape="rect" coords="355,524,520,542" alt="">
<area href="classopenvrml_1_1child__node.html" shape="rect" coords="265,452,401,470" alt="">
<area href="classopenvrml_1_1scope__ptr.html" shape="rect" coords="112,289,245,308" alt="">
</map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classopenvrml_1_1node__class-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
<tr><td></td></tr>
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="a0" doxytag="openvrml::node_class::~node_class" ></a>
virtual&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#a0">~node_class</a> ()=0  throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destructor. <br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#a1">initialize</a> (<a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> *initial_viewpoint, double time)  throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">node_class-specific initialization.  <a href="#a1"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual void&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#a2">render</a> (<a class="el" href="classopenvrml_1_1viewer.html">openvrml::viewer</a> &amp;<a class="el" href="classopenvrml_1_1viewer.html">viewer</a>)  throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">node_class-specific rendering.  <a href="#a2"></a><br><br></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>virtual const <a class="el" href="classopenvrml_1_1node__type__ptr.html">node_type_ptr</a>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#a3">create_type</a> (const std::string &amp;id, const <a class="el" href="classopenvrml_1_1node__interface__set.html">node_interface_set</a> &amp;interfaces)=0  throw (unsupported_interface, std::bad_alloc)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Create a new <a class="el" href="classopenvrml_1_1node__type.html">node_type</a>.  <a href="#a3"></a><br><br></td></tr>
<tr><td colspan=2><br><h2>Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="anchor" name="o0" doxytag="openvrml::node_class::browser" ></a>
<a class="el" href="classopenvrml_1_1browser.html">openvrml::browser</a> &amp;&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#o0">browser</a></td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">The browser associated with this <a class="el" href="classopenvrml_1_1node__class.html">node_class</a>. <br><br></td></tr>
<tr><td colspan=2><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align=right valign=top>&nbsp;</td><td class="memItemRight" valign=bottom><a class="el" href="classopenvrml_1_1node__class.html#b0">node_class</a> (<a class="el" href="classopenvrml_1_1browser.html">openvrml::browser</a> &amp;b)  throw ()</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Constructor.  <a href="#b0"></a><br><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
A class object for node instances. 
<p>
<a class="el" href="classopenvrml_1_1node__class.html">node_class</a> can be thought of as a "supertype" of sorts. A given node implementation can support as many node types as there are unique combinations of the interfaces it supports. The most readily apparent role of the <a class="el" href="classopenvrml_1_1node__class.html">node_class</a> object for a node implementation is to serve as a factory for these <a class="el" href="classopenvrml_1_1node__type.html">node_types</a>. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="b0" doxytag="openvrml::node_class::node_class" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> openvrml::node_class::node_class </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classopenvrml_1_1browser.html">openvrml::browser</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>b</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>  throw ()<code> [explicit, protected]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Constructor. 
<p>
A <a class="el" href="classopenvrml_1_1node__class.html">node_class</a> is constructed using a browser. All node instances that share a particular <a class="el" href="classopenvrml_1_1node__class.html">node_class</a> "belong to" the browser associated with the <a class="el" href="classopenvrml_1_1node__class.html">node_class</a>.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>b</em>&nbsp;</td><td>the browser to be associated with the <a class="el" href="classopenvrml_1_1node__class.html">node_class</a>. </td></tr>
  </table>
</dl>
    </td>
  </tr>
</table>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="a3" doxytag="openvrml::node_class::create_type" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> const <a class="el" href="classopenvrml_1_1node__type__ptr.html">node_type_ptr</a> openvrml::node_class::create_type </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top">const std::string &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>id</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>const <a class="el" href="classopenvrml_1_1node__interface__set.html">node_interface_set</a> &amp;&nbsp;</td>
          <td class="mdname" nowrap> <em>interfaces</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2">  throw (<a class="el" href="classopenvrml_1_1unsupported__interface.html">unsupported_interface</a>, std::bad_alloc)<code> [pure virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
Create a new <a class="el" href="classopenvrml_1_1node__type.html">node_type</a>. 
<p>
<a class="el" href="classopenvrml_1_1node__type.html">node_types</a> can be said to subset the master type provided by the <a class="el" href="classopenvrml_1_1node__class.html">node_class</a>. Each <a class="el" href="classopenvrml_1_1node__class.html">node_class</a> instance can support certain node interfaces; the <a class="el" href="classopenvrml_1_1node__interface__set.html">node_interface_set</a> passed to createType must be a subset of those supported interfaces.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>id</em>&nbsp;</td><td>the name for the new <a class="el" href="classopenvrml_1_1node__type.html">node_type</a>. </td></tr>
    <tr><td valign=top><em>interfaces</em>&nbsp;</td><td>a <a class="el" href="classopenvrml_1_1node__interface__set.html">node_interface_set</a> containing the interfaces for the new type.</td></tr>
  </table>
</dl>
<dl compact><dt><b>Returns:</b></dt><dd>a <a class="el" href="classopenvrml_1_1node__type__ptr.html">node_type_ptr</a> to the newly created <a class="el" href="classopenvrml_1_1node__type.html">node_type</a>.</dd></dl>
<dl compact><dt><b>Exceptions:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>std::invalid_argument</em>&nbsp;</td><td>if the <a class="el" href="classopenvrml_1_1node__class.html">node_class</a> cannot support one of the <a class="el" href="classopenvrml_1_1node__interface.html">node_interfaces</a> in <code>interfaces</code>. </td></tr>
    <tr><td valign=top><em>std::bad_alloc</em>&nbsp;</td><td>if memory allocation fails. </td></tr>
  </table>
</dl>

<p>
Implemented in <a class="el" href="classopenvrml_1_1script__node__class.html#a2">openvrml::script_node_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1group__class.html#a2">openvrml::vrml97_node::group_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1anchor__class.html#a2">openvrml::vrml97_node::anchor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1appearance__class.html#a2">openvrml::vrml97_node::appearance_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1audio__clip__class.html#a2">openvrml::vrml97_node::audio_clip_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1background__class.html#a8">openvrml::vrml97_node::background_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1billboard__class.html#a2">openvrml::vrml97_node::billboard_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1box__class.html#a2">openvrml::vrml97_node::box_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1collision__class.html#a2">openvrml::vrml97_node::collision_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1color__class.html#a2">openvrml::vrml97_node::color_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1color__interpolator__class.html#a2">openvrml::vrml97_node::color_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1cone__class.html#a2">openvrml::vrml97_node::cone_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1coordinate__class.html#a2">openvrml::vrml97_node::coordinate_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1coordinate__interpolator__class.html#a2">openvrml::vrml97_node::coordinate_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1cylinder__class.html#a2">openvrml::vrml97_node::cylinder_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1cylinder__sensor__class.html#a2">openvrml::vrml97_node::cylinder_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1directional__light__class.html#a2">openvrml::vrml97_node::directional_light_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1elevation__grid__class.html#a2">openvrml::vrml97_node::elevation_grid_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1extrusion__class.html#a2">openvrml::vrml97_node::extrusion_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1fog__class.html#a8">openvrml::vrml97_node::fog_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1font__style__class.html#a2">openvrml::vrml97_node::font_style_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1image__texture__class.html#a2">openvrml::vrml97_node::image_texture_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1indexed__face__set__class.html#a2">openvrml::vrml97_node::indexed_face_set_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1indexed__line__set__class.html#a2">openvrml::vrml97_node::indexed_line_set_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1inline__class.html#a2">openvrml::vrml97_node::inline_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1lod__class.html#a2">openvrml::vrml97_node::lod_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1material__class.html#a2">openvrml::vrml97_node::material_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1movie__texture__class.html#a2">openvrml::vrml97_node::movie_texture_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1navigation__info__class.html#a2">openvrml::vrml97_node::navigation_info_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1normal__class.html#a2">openvrml::vrml97_node::normal_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1normal__interpolator__class.html#a2">openvrml::vrml97_node::normal_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1orientation__interpolator__class.html#a2">openvrml::vrml97_node::orientation_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1pixel__texture__class.html#a2">openvrml::vrml97_node::pixel_texture_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1plane__sensor__class.html#a2">openvrml::vrml97_node::plane_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1point__light__class.html#a2">openvrml::vrml97_node::point_light_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1point__set__class.html#a2">openvrml::vrml97_node::point_set_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1position__interpolator__class.html#a2">openvrml::vrml97_node::position_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1proximity__sensor__class.html#a2">openvrml::vrml97_node::proximity_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1scalar__interpolator__class.html#a2">openvrml::vrml97_node::scalar_interpolator_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1shape__class.html#a2">openvrml::vrml97_node::shape_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1sound__class.html#a2">openvrml::vrml97_node::sound_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1sphere__class.html#a2">openvrml::vrml97_node::sphere_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1sphere__sensor__class.html#a2">openvrml::vrml97_node::sphere_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1spot__light__class.html#a2">openvrml::vrml97_node::spot_light_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1switch__class.html#a2">openvrml::vrml97_node::switch_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1text__class.html#a2">openvrml::vrml97_node::text_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1texture__coordinate__class.html#a2">openvrml::vrml97_node::texture_coordinate_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1texture__transform__class.html#a2">openvrml::vrml97_node::texture_transform_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1time__sensor__class.html#a2">openvrml::vrml97_node::time_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1touch__sensor__class.html#a2">openvrml::vrml97_node::touch_sensor_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1transform__class.html#a2">openvrml::vrml97_node::transform_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1viewpoint__class.html#a7">openvrml::vrml97_node::viewpoint_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1visibility__sensor__class.html#a2">openvrml::vrml97_node::visibility_sensor_class</a>, and <a class="el" href="classopenvrml_1_1vrml97__node_1_1world__info__class.html#a2">openvrml::vrml97_node::world_info_class</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a1" doxytag="openvrml::node_class::initialize" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void openvrml::node_class::initialize </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> *&nbsp;</td>
          <td class="mdname" nowrap> <em>initial_viewpoint</em>, </td>
        </tr>
        <tr>
          <td></td>
          <td></td>
          <td class="md" nowrap>double&nbsp;</td>
          <td class="mdname" nowrap> <em>time</em></td>
        </tr>
        <tr>
          <td></td>
          <td class="md">)&nbsp;</td>
          <td class="md" colspan="2">  throw ()<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
node_class-specific initialization. 
<p>
This method is called during initialization of a browser object with a new root Scene. It is called after the individual node instances have been initialized, and before the world starts running.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>initial_viewpoint</em>&nbsp;</td><td>the <a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> that should be bound initially; or 0 if the default <a class="el" href="classopenvrml_1_1viewpoint__node.html">viewpoint_node</a> should be bound. </td></tr>
    <tr><td valign=top><em>time</em>&nbsp;</td><td>the current time. </td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="classopenvrml_1_1vrml97__node_1_1background__class.html#a6">openvrml::vrml97_node::background_class</a>, <a class="el" href="classopenvrml_1_1vrml97__node_1_1fog__class.html#a6">openvrml::vrml97_node::fog_class</a>, and <a class="el" href="classopenvrml_1_1vrml97__node_1_1viewpoint__class.html#a6">openvrml::vrml97_node::viewpoint_class</a>.    </td>
  </tr>
</table>
<a class="anchor" name="a2" doxytag="openvrml::node_class::render" ></a><p>
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
  <tr>
    <td class="mdRow">
      <table cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td class="md" nowrap valign="top"> void openvrml::node_class::render </td>
          <td class="md" valign="top">(&nbsp;</td>
          <td class="md" nowrap valign="top"><a class="el" href="classopenvrml_1_1viewer.html">openvrml::viewer</a> &amp;&nbsp;</td>
          <td class="mdname1" valign="top" nowrap> <em>viewer</em>          </td>
          <td class="md" valign="top">&nbsp;)&nbsp;</td>
          <td class="md" nowrap>  throw ()<code> [virtual]</code></td>
        </tr>

      </table>
    </td>
  </tr>
</table>
<table cellspacing=5 cellpadding=0 border=0>
  <tr>
    <td>
      &nbsp;
    </td>
    <td>

<p>
node_class-specific rendering. 
<p>
The default implementation of this method does nothing.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign=top><em>viewer</em>&nbsp;</td><td>the viewer to render to. </td></tr>
  </table>
</dl>

<p>
Reimplemented in <a class="el" href="classopenvrml_1_1vrml97__node_1_1background__class.html#a7">openvrml::vrml97_node::background_class</a>, and <a class="el" href="classopenvrml_1_1vrml97__node_1_1fog__class.html#a7">openvrml::vrml97_node::fog_class</a>.    </td>
  </tr>
</table>
</div>
<address class="footer"><a href="http://sourceforge.net"><img src="http://sourceforge.net/sflogo.php?group_id=7151&amp;type=3" width="125" height="37" border="0" alt="SourceForge.net Logo" align="right"></a><a href="http://sourceforge.net/tracker/?func=add&amp;group_id=7151&amp;atid=107151">Report error</a><br>Generated Sun Nov 16 20:22:41 2003 by Doxygen 1.3.4-20031112</address>
</body>
</html>