From Roland Smeenk, "Attached you will find a large set of small typo fixes (mainly in the comments)."
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
|
||||
namespace osgSim {
|
||||
|
||||
/** Helper class for setting up and aquiring height above terrain intersections with terrain.*/
|
||||
/** Helper class for setting up and acquiring height above terrain intersections with terrain.*/
|
||||
class OSGSIM_EXPORT ElevationSlice
|
||||
{
|
||||
public :
|
||||
@@ -68,7 +68,7 @@ class OSGSIM_EXPORT ElevationSlice
|
||||
void clearDatabaseCache() { if (_dcrc.valid()) _dcrc->clearDatabaseCache(); }
|
||||
|
||||
/** Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.
|
||||
* Note, if you have mulitple LineOfSight or ElevationSlice objects in use at one time then you should share a single
|
||||
* Note, if you have multiple LineOfSight or ElevationSlice objects in use at one time then you should share a single
|
||||
* DatabaseCacheReadCallback between all of them. */
|
||||
void setDatabaseCacheReadCallback(DatabaseCacheReadCallback* dcrc);
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
namespace osgSim {
|
||||
|
||||
/** Helper class for setting up and aquiring height above terrain intersections with terrain.*/
|
||||
/** Helper class for setting up and acquiring height above terrain intersections with terrain.*/
|
||||
class OSGSIM_EXPORT HeightAboveTerrain
|
||||
{
|
||||
public :
|
||||
@@ -46,7 +46,7 @@ class OSGSIM_EXPORT HeightAboveTerrain
|
||||
const osg::Vec3d& getPoint(unsigned int i) const { return _HATList[i]._point; }
|
||||
|
||||
/** Get the intersection height for a single height above terrain test.
|
||||
* Note, you must call computeIntersections(..) before you can querry the HeightAboveTerrain.
|
||||
* Note, you must call computeIntersections(..) before you can query the HeightAboveTerrain.
|
||||
* If no intersections are found then height returned will be the height above mean sea level. */
|
||||
double getHeightAboveTerrain(unsigned int i) const { return _HATList[i]._hat; }
|
||||
|
||||
@@ -72,7 +72,7 @@ class OSGSIM_EXPORT HeightAboveTerrain
|
||||
void clearDatabaseCache() { if (_dcrc.valid()) _dcrc->clearDatabaseCache(); }
|
||||
|
||||
/** Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.
|
||||
* Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single
|
||||
* Note, if you have multiple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single
|
||||
* DatabaseCacheReadCallback between all of them. */
|
||||
void setDatabaseCacheReadCallback(DatabaseCacheReadCallback* dcrc);
|
||||
|
||||
|
||||
@@ -131,19 +131,19 @@ class OSGSIM_EXPORT ImpostorSprite : public osg::Drawable
|
||||
/** Return true, osg::ImpostorSprite does support accept(Drawable::AttributeFunctor&). */
|
||||
virtual bool supports(const Drawable::AttributeFunctor&) const { return true; }
|
||||
|
||||
/** Accept an Drawable::AttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. */
|
||||
/** Accept an Drawable::AttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. */
|
||||
virtual void accept(Drawable::AttributeFunctor& af);
|
||||
|
||||
/** Return true, osg::ImpostorSprite does support accept(Drawable::ConstAttributeFunctor&). */
|
||||
virtual bool supports(const Drawable::ConstAttributeFunctor&) const { return true; }
|
||||
|
||||
/** Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the interal attributes that this Drawable has. */
|
||||
/** Accept a Drawable::ConstAttributeFunctor and call its methods to tell it about the internal attributes that this Drawable has. */
|
||||
virtual void accept(Drawable::ConstAttributeFunctor& af) const;
|
||||
|
||||
/** Return true, osg::ImpostorSprite does support accept(PrimitiveFunctor&). */
|
||||
virtual bool supports(const osg::PrimitiveFunctor&) const { return true; }
|
||||
|
||||
/** Accept a PrimtiveFunctor and call its methods to tell it about the interal primtives that this Drawable has. */
|
||||
/** Accept a PrimtiveFunctor and call its methods to tell it about the internal primitives that this Drawable has. */
|
||||
virtual void accept(osg::PrimitiveFunctor& pf) const;
|
||||
|
||||
// for debugging purposes.
|
||||
|
||||
@@ -43,7 +43,7 @@ class OSGSIM_EXPORT DatabaseCacheReadCallback : public osgUtil::IntersectionVisi
|
||||
FileNameSceneMap _filenameSceneMap;
|
||||
};
|
||||
|
||||
/** Helper class for setting up and aquiring line of sight intersections with terrain.
|
||||
/** Helper class for setting up and acquiring line of sight intersections with terrain.
|
||||
* Supports automatic paging in of PagedLOD tiles. */
|
||||
class OSGSIM_EXPORT LineOfSight
|
||||
{
|
||||
@@ -60,7 +60,7 @@ class OSGSIM_EXPORT LineOfSight
|
||||
/** Get the number of line of sight tests.*/
|
||||
unsigned int getNumLOS() const { return _LOSList.size(); }
|
||||
|
||||
/** Set the start point of signel line of sight test.*/
|
||||
/** Set the start point of single line of sight test.*/
|
||||
void setStartPoint(unsigned int i, const osg::Vec3d& start) { _LOSList[i]._start = start; }
|
||||
|
||||
/** Get the start point of single line of sight test.*/
|
||||
@@ -89,7 +89,7 @@ class OSGSIM_EXPORT LineOfSight
|
||||
void clearDatabaseCache() { if (_dcrc.valid()) _dcrc->clearDatabaseCache(); }
|
||||
|
||||
/** Set the ReadCallback that does the reading of external PagedLOD models, and caching of loaded subgraphs.
|
||||
* Note, if you have mulitple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single
|
||||
* Note, if you have multiple LineOfSight or HeightAboveTerrain objects in use at one time then you should share a single
|
||||
* DatabaseCacheReadCallback between all of them. */
|
||||
void setDatabaseCacheReadCallback(DatabaseCacheReadCallback* dcrc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user