10 #ifndef DynAndGraph_config_h 11 #define DynAndGraph_config_h 16 #include <osg/ShapeDrawable> 17 #include <osg/Geometry> 20 #include <osg/PositionAttitudeTransform> 21 #include <osg/AutoTransform> 22 #include <osg/MatrixTransform> 26 #include <osg/ClearNode> 27 #include <osg/LineWidth> 29 #include <osg/AlphaFunc> 30 #include <osg/BlendFunc> 31 #include <osg/StateSet> 35 #include <osg/StateSet> 37 #include <osg/LightSource> 39 #include <osg/Material> 42 #include <osg/Viewport> 43 #include <osgViewer/Viewer> 44 #include <osgViewer/ViewerBase> 45 #include <osg/GraphicsContext> 47 #include <osg/PolygonMode> 152 : position(a[0],a[1],a[2])
153 , quat(a[(XYZW ? 3 : 4)],
156 a[(XYZW ? 6 : 3)]) {}
161 return position == other.
position && quat == other.
quat;
166 return position != other.
position || quat != other.
quat;
171 return position.valid() && quat.asVec4().valid();
Definition: config-osg.h:121
FaceMode
Definition: config-osg.h:137
#define DEF_OSG_CLASS_REF_PTR(className)
Definition: macros.h:57
::osg::Vec3f osgVector3
Definition: config-osg.h:109
::osg::ref_ptr< GraphicsContext::Traits > TraitsRefPtr
Definition: config-osg.h:98
::osg::Quat osgQuat
Definition: config-osg.h:112
Definition: config-osg.h:102
Definition: config-osg.h:119
Definition: config-osg.h:141
::osg::Vec2f osgVector2
Definition: config-osg.h:108
::osg::Vec4f osgVector4
Definition: config-osg.h:110
VisibilityMode
Definition: config-osg.h:117
Definition: config-osg.h:134
bool valid() const
Definition: config-osg.h:169
Definition: config-osg.h:127
Definition: config-osg.h:126
Definition: config-osg.h:139
Definition: config-osg.h:133
Definition: action-search-bar.hh:27
osgQuat quat
Definition: config-osg.h:147
LightingMode
Definition: config-osg.h:124
Definition: config-osg.h:132
Definition: config-osg.h:120
Definition: config-osg.h:144
#define DEF_CLASS_SMART_PTR(className)
Definition: macros.h:50
Configuration(const osgVector3 &p, const osgQuat &q)
Definition: config-osg.h:157
Definition: config-osg.h:140
Definition: config-osg.h:52
osgVector3 position
Definition: config-osg.h:146
Configuration(const float *a, bool XYZW)
Definition: config-osg.h:151
WireFrameMode
Definition: config-osg.h:130
Configuration()
Definition: config-osg.h:148