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) 1998-2007 by Systems in Motion. All rights reserved.
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 Systems in Motion about acquiring
15 * a Coin Professional Edition License.
16 *
17 * See http://www.coin3d.org/ for more information.
18 *
19 * Systems in Motion, Postboks 1283, Pirsenteret, 7462 Trondheim, 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;
41 SO_NODE_HEADER(SoVRMLAnchor);
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:613
The SoHandleEventAction class distributes user events to the scene.
Definition: SoHandleEventAction.h:36
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 bboxCenter
Definition: SoVRMLAnchor.h:51
SoMFString parameter
Definition: SoVRMLAnchor.h:49
SoSFVec3f bboxSize
Definition: SoVRMLAnchor.h:52
The SoVRMLParent node is a superclass for all VRML grouping nodes.
Definition: SoVRMLParent.h:35

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Wed Jan 18 2023 for Coin by Doxygen. 1.9.5