H3D API  2.4.1
FrictionalSurface.h
Go to the documentation of this file.
1 
3 // Copyright 2004-2019, SenseGraphics AB
4 //
5 // This file is part of H3D API.
6 //
7 // H3D API is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 2 of the License, or
10 // (at your option) any later version.
11 //
12 // H3D API is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with H3D API; if not, write to the Free Software
19 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
20 //
21 // A commercial license is also available. Please contact us at
22 // www.sensegraphics.com for more information.
23 //
24 //
28 //
30 #ifndef __FRICTIONALSURFACE_H__
31 #define __FRICTIONALSURFACE_H__
32 
34 
35 namespace H3D {
36 
44  class H3DAPI_API FrictionalSurface: public H3DFrictionalSurfaceNode {
45  public:
46 
48  FrictionalSurface( Inst< UpdateStiffness > _stiffness = 0,
49  Inst< UpdateDamping > _damping = 0,
50  Inst< UpdateStaticFriction > _staticFriction = 0,
51  Inst< UpdateDynamicFriction > _dynamicFriction = 0,
52  Inst< SFBool > _useRelativeValues = 0 );
53 
54  void initialize();
55 
58  };
59 }
60 
61 #endif
Header file for H3DFrictionalSurfaceNode.
Surface with friction.
Definition: FrictionalSurface.h:44
static H3DNodeDatabase database
The H3DNodeDatabase for this node.
Definition: FrictionalSurface.h:57
Base class for surfaces with friction.
Definition: H3DFrictionalSurfaceNode.h:40
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