H3D API  2.4.1
HAnimSite.h
Go to the documentation of this file.
1 // Copyright 2004-2019, SenseGraphics AB
3 //
4 // This file is part of H3D API.
5 //
6 // H3D API is free software; you can redistribute it and/or modify
7 // it under the terms of the GNU General Public License as published by
8 // the Free Software Foundation; either version 2 of the License, or
9 // (at your option) any later version.
10 //
11 // H3D API is distributed in the hope that it will be useful,
12 // but WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 // GNU General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with H3D API; if not, write to the Free Software
18 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 //
20 // A commercial license is also available. Please contact us at
21 // www.sensegraphics.com for more information.
22 //
23 //
27 //
29 #ifndef __HANIMSITE_H__
30 #define __HANIMSITE_H__
31 
32 #include <H3D/Transform.h>
33 #include <H3D/MFFloat.h>
34 #include <H3D/MFInt32.h>
35 
36 namespace H3D {
37 
55  class H3DAPI_API HAnimSite : public Transform {
56  public:
57 
58  typedef MFNode MFDisplacer;
59 
61  HAnimSite( Inst< AddChildren > _addChildren = 0,
62  Inst< RemoveChildren > _removeChildren = 0,
63  Inst< SFVec3f > _center = 0,
64  Inst< MFChild > _children = 0,
65  Inst< SFNode > _metadata = 0,
66  Inst< SFRotation > _rotation = 0,
67  Inst< SFVec3f > _scale = 0,
68  Inst< SFRotation > _scaleOrientation = 0,
69  Inst< SFVec3f > _translation = 0,
70  Inst< SFBound > _bound = 0,
71  Inst< SFVec3f > _bboxCenter = 0,
72  Inst< SFVec3f > _bboxSize = 0,
73  Inst< SFTransformedBound > _transformedBound = 0,
74  Inst< Matrix > _matrix = 0,
75  Inst< SFMatrix4f > _accumulatedForward = 0,
76  Inst< SFMatrix4f > _accumulatedInverse = 0,
77  Inst< SFString > _name = 0
78  );
79 
80  //virtual void render();
81  //virtual void traverseSG( TraverseInfo &ti );
82 
90  H3DUniquePtr< SFString > name;
91 
94  };
95 }
96 
97 #endif
Contains the MFFloat field class.
Contains the MFInt32 field class.
Header file for Transform, X3D scene-graph node.
An HAnimSite node serves three purposes.
Definition: HAnimSite.h:55
H3DUniquePtr< SFString > name
The name field contains a name that is used for identifying the object.
Definition: HAnimSite.h:90
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: HAnimSite.h:93
MFNode is almost like any MField but it encapsulates a vector of Node pointers.
Definition: MFNode.h:44
The Transform node is a grouping node that defines a coordinate system for its children that is relat...
Definition: Transform.h:91
H3D API namespace.
Definition: Anchor.h:38
The H3DNodeDatabase contains a mapping between a name of a Node and the constructor for the Node with...
Definition: H3DNodeDatabase.h:194