Fixed typo
This commit is contained in:
@@ -26,7 +26,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
public:
|
||||
|
||||
|
||||
typedef std::vector< observer_ptr<Node> > ObserveredNodePath;
|
||||
typedef std::vector< observer_ptr<Node> > ObserverNodePath;
|
||||
|
||||
void setTrackNodePath(const osg::NodePath& nodePath)
|
||||
{
|
||||
@@ -35,8 +35,8 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
std::copy(nodePath.begin(), nodePath.end(), std::back_inserter(_trackNodePath));
|
||||
}
|
||||
|
||||
void setTrackNodePath(const ObserveredNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserveredNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
void setTrackNodePath(const ObserverNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserverNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
|
||||
void setTrackNode(osg::Node* node);
|
||||
osg::Node* getTrackNode() { return _trackNodePath.empty() ? 0 : _trackNodePath.back().get(); }
|
||||
@@ -53,7 +53,7 @@ class OSG_EXPORT NodeTrackerCallback : public NodeCallback
|
||||
|
||||
protected:
|
||||
|
||||
ObserveredNodePath _trackNodePath;
|
||||
ObserverNodePath _trackNodePath;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
|
||||
|
||||
virtual const char* className() const { return "NodeTrackerManipulator"; }
|
||||
|
||||
typedef std::vector< osg::observer_ptr<osg::Node> > ObserveredNodePath;
|
||||
typedef std::vector< osg::observer_ptr<osg::Node> > ObserverNodePath;
|
||||
|
||||
void setTrackNodePath(const osg::NodePath& nodePath)
|
||||
{
|
||||
@@ -38,8 +38,8 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
|
||||
std::copy(nodePath.begin(), nodePath.end(), std::back_inserter(_trackNodePath));
|
||||
}
|
||||
|
||||
void setTrackNodePath(const ObserveredNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserveredNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
void setTrackNodePath(const ObserverNodePath& nodePath) { _trackNodePath = nodePath; }
|
||||
ObserverNodePath& getTrackNodePath() { return _trackNodePath; }
|
||||
|
||||
void setTrackNode(osg::Node* node);
|
||||
osg::Node* getTrackNode() { return _trackNodePath.empty() ? 0 : _trackNodePath.back().get(); }
|
||||
@@ -165,7 +165,7 @@ class OSGGA_EXPORT NodeTrackerManipulator : public MatrixManipulator
|
||||
|
||||
osg::ref_ptr<osg::Node> _node;
|
||||
|
||||
ObserveredNodePath _trackNodePath;
|
||||
ObserverNodePath _trackNodePath;
|
||||
|
||||
TrackerMode _trackerMode;
|
||||
RotationMode _rotationMode;
|
||||
|
||||
@@ -194,8 +194,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
|
||||
osg::ref_ptr<osgGA::MatrixManipulator> _cameraManipulator;
|
||||
EventHandlers _eventHandlers;
|
||||
|
||||
typedef std::vector< osg::observer_ptr<osg::Node> > ObserveredNodePath;
|
||||
ObserveredNodePath _coordinateSystemNodePath;
|
||||
typedef std::vector< osg::observer_ptr<osg::Node> > ObserverNodePath;
|
||||
ObserverNodePath _coordinateSystemNodePath;
|
||||
|
||||
osg::ref_ptr<osg::DisplaySettings> _displaySettings;
|
||||
osgUtil::SceneView::FusionDistanceMode _fusionDistanceMode;
|
||||
|
||||
Reference in New Issue
Block a user