Attempts to fix compile problems under IRIX due to namespace problems.
This commit is contained in:
@@ -36,7 +36,7 @@ public:
|
||||
uvarupdate=NULL; extvarupdate=NULL;
|
||||
};
|
||||
geoHeader(const geoHeader &geo,const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY) :
|
||||
PositionAttitudeTransform(geo,copyop)
|
||||
osg::PositionAttitudeTransform(geo,copyop)
|
||||
{
|
||||
// const geoHeaderGeo *ghg=static_cast<const geoHeaderGeo *> (&geo);
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ class SeamFinder: public osg::NodeVisitor
|
||||
{
|
||||
public:
|
||||
SeamFinder(int x, int y, int lod, TXPArchive::TileInfo& info, TXPArchive *archive ):
|
||||
NodeVisitor(NodeVisitor::TRAVERSE_ALL_CHILDREN),
|
||||
osg::NodeVisitor(osg::NodeVisitor::TRAVERSE_ALL_CHILDREN),
|
||||
_x(x), _y(y), _lod(lod), _info(info), _archive(archive)
|
||||
{};
|
||||
|
||||
|
||||
@@ -295,7 +295,7 @@ bool TXPArchive::loadMaterials()
|
||||
|
||||
bool TXPArchive::loadTexture(int i)
|
||||
{
|
||||
if (_textures[i].get()) return true;
|
||||
if (_textures[i].get()) return true;
|
||||
|
||||
trpgrImageHelper image_helper(this->GetEndian(),getDir(),materialTable,texTable);
|
||||
|
||||
@@ -622,6 +622,7 @@ osg::Group* TXPArchive::getTileContent(
|
||||
osg::Group *tileGroup = _parser->parseScene(buf,_gstates,_models,realMinRange,realMaxRange,usedMaxRange);
|
||||
tileCenter = _parser->getTileCenter();
|
||||
|
||||
#if 1
|
||||
// Prune
|
||||
unsigned int i = 0;
|
||||
for (i = 0; i < _gstates.size(); i++)
|
||||
@@ -633,7 +634,7 @@ osg::Group* TXPArchive::getTileContent(
|
||||
{
|
||||
if (_textures[i].valid() && (_textures[i]->referenceCount()==1)) _textures[i] = 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
return tileGroup;
|
||||
}
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
|
||||
#include "TXPNode.h"
|
||||
|
||||
using namespace osg;
|
||||
|
||||
bool TXPNode_readLocalData(osg::Object &obj, osgDB::Input &fr);
|
||||
bool TXPNode_writeLocalData(const osg::Object &obj, osgDB::Output &fw);
|
||||
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
|
||||
|
||||
using namespace txp;
|
||||
using namespace osg;
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
using namespace txp;
|
||||
|
||||
TXPPagedLOD::TXPPagedLOD():
|
||||
PagedLOD()
|
||||
osg::PagedLOD()
|
||||
{
|
||||
}
|
||||
|
||||
TXPPagedLOD::TXPPagedLOD(const TXPPagedLOD& plod,const osg::CopyOp& copyop):
|
||||
PagedLOD(plod,copyop),
|
||||
osg::PagedLOD(plod,copyop),
|
||||
_tileIdentifier(plod._tileIdentifier)
|
||||
{
|
||||
}
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "TileMapper.h"
|
||||
|
||||
using namespace txp;
|
||||
using namespace osg;
|
||||
|
||||
TXPSeamLOD::TXPSeamLOD() :
|
||||
Group()
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
|
||||
using namespace Producer;
|
||||
using namespace osgProducer;
|
||||
using namespace osg;
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include <osgSim/DOFTransform>
|
||||
|
||||
using namespace osgSim;
|
||||
using namespace osg;
|
||||
|
||||
DOFTransform::DOFTransform():
|
||||
_limitationFlags(0),
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include <algorithm>
|
||||
|
||||
using namespace osgSim;
|
||||
using namespace osg;
|
||||
|
||||
MultiSwitch::MultiSwitch():
|
||||
_newChildDefaultValue(true),
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#include <osgUtil/IntersectVisitor>
|
||||
|
||||
using namespace osgSim;
|
||||
using namespace osg;
|
||||
|
||||
VisibilityGroup::VisibilityGroup():
|
||||
_volumeIntersectionMask(0xFFFFFFFF),
|
||||
|
||||
Reference in New Issue
Block a user