http://www.sim.no/
http://www.coin3d.org/
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
include
Inventor
VRMLnodes
SoVRMLAnchor.h
1
/**************************************************************************\
2
*
3
* This file is part of the Coin 3D visualization library.
4
* Copyright (C) by Kongsberg Oil & Gas Technologies.
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU General Public License
8
* ("GPL") version 2 as published by the Free Software Foundation.
9
* See the file LICENSE.GPL at the root directory of this source
10
* distribution for additional information about the GNU GPL.
11
*
12
* For using Coin with software that can not be combined with the GNU
13
* GPL, and for taking advantage of the additional benefits of our
14
* support services, please contact Kongsberg Oil & Gas Technologies
15
* about acquiring a Coin Professional Edition License.
16
*
17
* See http://www.coin3d.org/ for more information.
18
*
19
* Kongsberg Oil & Gas Technologies, Bygdoy Alle 5, 0257 Oslo, NORWAY.
20
* http://www.sim.no/ sales@sim.no coin-support@coin3d.org
21
*
22
\**************************************************************************/
23
24
#ifndef COIN_SOVRMLANCHOR_H
25
#define COIN_SOVRMLANCHOR_H
26
27
#include <Inventor/VRMLnodes/SoVRMLParent.h>
28
#include <Inventor/nodes/SoSubNode.h>
29
#include <Inventor/fields/SoMFString.h>
30
#include <Inventor/fields/SoSFString.h>
31
#include <Inventor/fields/SoSFVec3f.h>
32
33
class
SoVRMLAnchor
;
34
class
SoVRMLAnchorP;
35
36
typedef
void
SoVRMLAnchorCB(
const
SbString
&,
void
*,
SoVRMLAnchor
*);
37
38
class
COIN_DLL_API
SoVRMLAnchor
:
public
SoVRMLParent
39
{
40
typedef
SoVRMLParent
inherited
;
41
SO_NODE_HEADER
(
SoVRMLAnchor
);
42
43
public
:
44
static
void
initClass(
void
);
45
46
SoVRMLAnchor
(
void
);
47
SoMFString
url
;
48
SoSFString
description
;
49
SoMFString
parameter
;
50
51
SoSFVec3f
bboxCenter
;
52
SoSFVec3f
bboxSize
;
53
54
static
void
setFetchURLCallBack(SoVRMLAnchorCB *,
void
* closure);
55
56
virtual
void
handleEvent
(
SoHandleEventAction
* action);
57
58
protected
:
59
virtual
~
SoVRMLAnchor
();
60
61
private
:
62
static
SoVRMLAnchorCB * fetchurlcb;
63
static
void
* userdata;
64
65
SoVRMLAnchorP * pimpl;
66
};
67
68
#endif // ! COIN_SOVRMLANCHOR_H
Copyright © 1998-2010 by
Kongsberg Oil & Gas Technologies
. All rights reserved.
Generated for Coin by
Doxygen
1.8.2.