|
| | TXPParser () |
| |
| void | setArchive (TXPArchive *archive) |
| |
| TXPArchive * | getArchive () |
| |
| osg::Group * | parseScene (trpgReadBuffer &buf, std::map< int, osg::ref_ptr< osg::StateSet > > &materials, std::map< int, osg::ref_ptr< osg::Node > > &models, double realMinRange, double realMaxRange, double usedMaxRange) |
| |
| osg::Group * | getCurrTop () |
| |
| void | setPotentionalTileGroup (osg::Group *grp) |
| |
std::map< int, osg::ref_ptr
< osg::StateSet > > * | getMaterials () |
| |
| void | loadMaterial (int ix) |
| |
std::vector< osg::ref_ptr
< osg::StateSet > > * | getLocalMaterials () |
| |
| void | loadLocalMaterials () |
| |
std::map< int, osg::ref_ptr
< osg::Node > > * | getModels () |
| |
| bool | requestModel (int ix) |
| |
| trpgTileHeader * | getTileHeaderRef () |
| |
| const bool | underBillboardSubgraph () const |
| |
| void | setUnderBillboardSubgraph (bool b) |
| |
| void | setLastBillboardInfo (TXPBillboardInfo &info) |
| |
| void | getLastBillboardInfo (TXPBillboardInfo &info) |
| |
| DeferredLightAttribute & | getLightAttribute (int ix) |
| |
| const bool | underLayerSubgraph () const |
| |
| void | setUnderLayerSubgraph (bool b) |
| |
| void | setLayerGeode (osg::Geode *layer) |
| |
| osg::Geode * | getLayerGeode () const |
| |
| unsigned int | getNumLayerLavels () const |
| |
| void | setMaxAnisotropy (float anisotropy) |
| |
| float | getMaxAnisotropy () const |
| |
| double | checkAndGetMinRange (double range) |
| |
| double | checkAndGetMaxRange (double range) |
| |
| const osg::Vec3 | getTileCenter () const |
| |
| void | setCurrentNode (osg::Node *node) |
| |
| unsigned int | GetNbChildrenRef () const |
| |
| const trpgChildRef * | GetChildRef (unsigned int idx) const |
| |
| | trpgSceneParser (void) |
| |
| virtual | ~trpgSceneParser (void) override |
| |
| | trpgr_Parser (void) |
| |
| virtual | ~trpgr_Parser (void) |
| |
| bool | isValid (void) const |
| |
| virtual void | AddCallback (trpgToken, trpgr_Callback *, bool destroy=true) |
| |
| virtual void | AddCallback (trpgToken, trpgReadWriteable *) |
| |
| virtual const trpgr_Callback * | GetCallback (trpgToken tok) const |
| |
| virtual trpgr_Callback * | GetCallback (trpgToken tok) |
| |
| virtual void | RemoveCallback (trpgToken) |
| |
| virtual void | SetDefaultCallback (trpgr_Callback *, bool destroy=true) |
| |
| virtual bool | Parse (trpgReadBuffer &) |
| |
| virtual bool | TokenIsValid (trpgToken) |
| |
| txp::TXPParser::TXPParser |
( |
| ) |
|
| virtual txp::TXPParser::~TXPParser |
( |
| ) |
|
|
overrideprotectedvirtual |
| void txp::TXPParser::setArchive |
( |
TXPArchive * |
archive | ) |
|
|
inline |
Sets the archive to be parsed.
References _archive.
| osg::Group* txp::TXPParser::getCurrTop |
( |
| ) |
|
|
inline |
| void txp::TXPParser::setPotentionalTileGroup |
( |
osg::Group * |
grp | ) |
|
|
inline |
Sets the group as potentional tile group.
References _tileGroups.
| std::map<int,osg::ref_ptr<osg::StateSet> >* txp::TXPParser::getMaterials |
( |
| ) |
|
|
inline |
Return the current material list (passed in to ParseScene())
References _materialMap.
| void txp::TXPParser::loadMaterial |
( |
int |
ix | ) |
|
|
inline |
| std::vector<osg::ref_ptr<osg::StateSet> >* txp::TXPParser::getLocalMaterials |
( |
| ) |
|
|
inline |
| void txp::TXPParser::loadLocalMaterials |
( |
| ) |
|
Return the current model list.
References _models.
| bool txp::TXPParser::requestModel |
( |
int |
ix | ) |
|
Request a model to be load.
Return a reference to the tile header (after a tile has been read)
References _tileHeader.
| const bool txp::TXPParser::underBillboardSubgraph |
( |
| ) |
const |
|
inline |
| void txp::TXPParser::setUnderBillboardSubgraph |
( |
bool |
b | ) |
|
|
inline |
| const bool txp::TXPParser::underLayerSubgraph |
( |
| ) |
const |
|
inline |
| void txp::TXPParser::setUnderLayerSubgraph |
( |
bool |
b | ) |
|
|
inline |
| void txp::TXPParser::setLayerGeode |
( |
osg::Geode * |
layer | ) |
|
|
inline |
| osg::Geode* txp::TXPParser::getLayerGeode |
( |
| ) |
const |
|
inline |
Returns the current layer geode.
References _layerGeode.
| unsigned int txp::TXPParser::getNumLayerLavels |
( |
| ) |
const |
|
inline |
| void txp::TXPParser::setMaxAnisotropy |
( |
float |
anisotropy | ) |
|
|
inline |
| float txp::TXPParser::getMaxAnisotropy |
( |
| ) |
const |
|
inline |
We need to change the LOD ranges within tiles since we have done it for the PagedLODs representing tiles.
References _realMinRange.
| const osg::Vec3 txp::TXPParser::getTileCenter |
( |
| ) |
const |
|
inline |
gets tile center, from the top lod node
References _tileCenter.
| void txp::TXPParser::setCurrentNode |
( |
osg::Node * |
node | ) |
|
|
inline |
| unsigned int txp::TXPParser::GetNbChildrenRef |
( |
| ) |
const |
After parsing this will return the number of trpgChildRef node found.
This will return the trpgChildRef node pointer associated with the index. Will return 0 if index is out of bound.
| void txp::TXPParser::removeEmptyGroups |
( |
| ) |
|
|
protected |
Removes any empty groups and LODs.
| virtual bool txp::TXPParser::StartChildren |
( |
void * |
| ) |
|
|
overrideprotectedvirtual |
| virtual bool txp::TXPParser::EndChildren |
( |
void * |
| ) |
|
|
overrideprotectedvirtual |
| void txp::TXPParser::replaceTileLod |
( |
osg::Group * |
| ) |
|
|
protected |
Replace the tile lod to regular group.
| osg::Geode* txp::TXPParser::createBoundingBox |
( |
int |
x, |
|
|
int |
y, |
|
|
int |
lod |
|
) |
| |
|
protected |
| osg::Group* txp::TXPParser::_currentTop |
|
protected |
| osg::Node* txp::TXPParser::_currentNode |
|
protected |
| std::stack<osg::Group*> txp::TXPParser::_parents |
|
protected |
| std::map<osg::Group*,int> txp::TXPParser::_tileGroups |
|
protected |
| std::vector<osg::ref_ptr<osg::StateSet> > txp::TXPParser::_localMaterials |
|
protected |
| bool txp::TXPParser::_underBillboardSubgraph |
|
protected |
| int txp::TXPParser::_numBillboardLevels |
|
protected |
Number of levels below the billboard node.
| bool txp::TXPParser::_underLayerSubgraph |
|
protected |
| int txp::TXPParser::_numLayerLevels |
|
protected |
| osg::Geode* txp::TXPParser::_layerGeode |
|
protected |
| float txp::TXPParser::_defaultMaxAnisotropy |
|
protected |
| double txp::TXPParser::_realMinRange |
|
protected |
| double txp::TXPParser::_realMaxRange |
|
protected |
| double txp::TXPParser::_usedMaxRange |
|
protected |
| osg::Vec3 txp::TXPParser::_tileCenter |
|
protected |
The documentation for this class was generated from the following file:
- /data/exports/nrhent7-1/nightly/docs/vrForces.vrf5-2-branch/include/osgdb_vrftxp/TXPParser.h