OpenSceneGraph 3.6.5
TranslateAxisDragger
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
12*/
13//osgManipulator - Copyright (C) 2007 Fugro-Jason B.V.
14
15#ifndef OSGMANIPULATOR_TRANSLATEAXISDRAGGER
16#define OSGMANIPULATOR_TRANSLATEAXISDRAGGER 1
17
19#include <osg/ShapeDrawable>
20#include <osg/Geometry>
21#include <osg/LineWidth>
22
23namespace osgManipulator {
24
74
75
76}
77
78#endif
The osgManipulator library is a NodeKit that extends the core scene graph to support 3D interactive m...
Definition AntiSquish:23
Smart pointer for handling referenced counted objects.
Definition ref_ptr:32
virtual void setupDefaultGeometry()
Setup default geometry for dragger.
Definition Dragger:263
CompositeDragger()
Definition Dragger:354
osg::ref_ptr< osg::Cone > _cone
Definition TranslateAxisDragger:72
osg::ref_ptr< osg::LineWidth > _lineWidth
Definition TranslateAxisDragger:71
float _pickCylinderRadius
Definition TranslateAxisDragger:67
osg::ref_ptr< Translate1DDragger > _zDragger
Definition TranslateAxisDragger:63
float _coneHeight
Definition TranslateAxisDragger:65
osg::ref_ptr< osg::Cylinder > _cylinder
Definition TranslateAxisDragger:70
void setConeHeight(float radius)
Sets the height of the cones.
float getPickCylinderRadius() const
Retrieves the radius of the cylinders representing the axis lines for picking.
Definition TranslateAxisDragger:49
void setPickCylinderRadius(float pickCylinderRadius)
Sets the radius of the cylinders representing the axis lines for picking.
float _axisLineWidth
Definition TranslateAxisDragger:66
float getAxisLineWidth() const
Retrieves the width of the axis lines in pixels.
Definition TranslateAxisDragger:43
float getConeHeight() const
Retrieves the height of the cones.
Definition TranslateAxisDragger:55
void setAxisLineWidth(float linePixelWidth)
Sets the width of the axis lines in pixels.
META_OSGMANIPULATOR_Object(osgManipulator, TranslateAxisDragger) void setupDefaultGeometry()
Setup default geometry for dragger.
osg::ref_ptr< Translate1DDragger > _xDragger
Definition TranslateAxisDragger:61
osg::ref_ptr< osg::Geode > _lineGeode
Definition TranslateAxisDragger:69
osg::ref_ptr< Translate1DDragger > _yDragger
Definition TranslateAxisDragger:62
#define OSGMANIPULATOR_EXPORT
Definition Export:27

osg logo
Generated at Sun Jul 27 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.