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 
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;
42 
43 public:
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 
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
#define SO_NODE_HEADER(classname)
The SoVRMLParent node is a superclass for all VRML grouping nodes.
Definition: SoVRMLParent.h:34
SoSFString description
Definition: SoVRMLAnchor.h:48
The SoSFString class is a container for an SbString.This field is used where nodes, engines or other field containers needs to store a single string.
Definition: SoSFString.h:31
SoSFVec3f bboxSize
Definition: SoVRMLAnchor.h:52
The SoMFString class is a container for SbString values.This field is used where nodes, engines or other field containers needs to store arrays of strings.
Definition: SoMFString.h:31
SoMFString parameter
Definition: SoVRMLAnchor.h:49
The SoHandleEventAction class distributes user events to the scene.This is the action used by the GUI...
Definition: SoHandleEventAction.h:37
The SoVRMLAnchor class is used for linking to other URL resources.The detailed class documentation is...
Definition: SoVRMLAnchor.h:38
SoMFString url
Definition: SoVRMLAnchor.h:47
virtual void handleEvent(SoHandleEventAction *action)
Definition: SoGroup.cpp:670
The SoSFVec3f class is a container for an SbVec3f vector.This field is used where nodes...
Definition: SoSFVec3f.h:31
The SbString class is a string class with convenience functions for string operations.This is the class used for storing and working with character strings. It automatically takes care of supporting all the "bookkeeping" tasks usually associated with working with character strings, like memory allocation and deallocation etc.
Definition: SbString.h:42
SoSFVec3f bboxCenter
Definition: SoVRMLAnchor.h:51

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

Generated for Coin by Doxygen 1.8.14.