Coin Logo http://www.sim.no/
http://www.coin3d.org/

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
33class SoVRMLAnchor;
34class SoVRMLAnchorP;
35
36typedef void SoVRMLAnchorCB( const SbString &, void *, SoVRMLAnchor *);
37
38class COIN_DLL_API SoVRMLAnchor : public SoVRMLParent
39{
40 typedef SoVRMLParent inherited;
42
43public:
44 static void initClass(void);
45
46 SoVRMLAnchor(void);
50
53
54 static void setFetchURLCallBack(SoVRMLAnchorCB *, void * closure);
55
56 virtual void handleEvent(SoHandleEventAction * action);
57
58protected:
59 virtual ~SoVRMLAnchor();
60
61private:
62 static SoVRMLAnchorCB * fetchurlcb;
63 static void * userdata;
64
65 SoVRMLAnchorP * pimpl;
66};
67
68#endif // ! COIN_SOVRMLANCHOR_H
The SbString class is a string class with convenience functions for string operations.
Definition SbString.h:42
virtual void handleEvent(SoHandleEventAction *action)
Definition SoGroup.cpp:670
The SoHandleEventAction class distributes user events to the scene.
Definition SoHandleEventAction.h:37
The SoMFString class is a container for SbString values.
Definition SoMFString.h:31
The SoSFString class is a container for an SbString.
Definition SoSFString.h:31
The SoSFVec3f class is a container for an SbVec3f vector.
Definition SoSFVec3f.h:31
The SoVRMLAnchor class is used for linking to other URL resources.
Definition SoVRMLAnchor.h:39
SoSFString description
Definition SoVRMLAnchor.h:48
SoMFString url
Definition SoVRMLAnchor.h:47
SoSFVec3f bboxSize
Definition SoVRMLAnchor.h:52
SoMFString parameter
Definition SoVRMLAnchor.h:49
SoSFVec3f bboxCenter
Definition SoVRMLAnchor.h:51
The SoVRMLParent node is a superclass for all VRML grouping nodes.
Definition SoVRMLParent.h:35
#define SO_NODE_HEADER(classname)
Definition macros.dox:43

Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.

Generated on Wed Jul 17 2024 for Coin by Doxygen 1.12.0.