Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 18, 2006, 11:32:55 AM (17 years ago)
Author:
patrick
Message:

working on mountpoint extraction

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/mount_points/src/lib/graphics/importer/static_model.cc

    r9869 r10089  
    9191  this->updateBase();
    9292}
     93
     94
     95
     96/**
     97 * extract the mount points from this file: looking at each group and checking if the group realy is a mountpoint marker
     98 * if so get place and orientation
     99 */
     100void StaticModel::extractMountPoints()
     101{
     102
     103  // go through all groups and check if they are mounts
     104  const ModelGroup* groupPtr = this->data->getModelGroup();
     105  for( ; groupPtr != NULL; groupPtr = groupPtr->next)
     106  {
     107    // get the name of this group and check if it's a mout point identifier
     108    std::string groupName = groupPtr->name;
     109    if( groupName.find("MP.", 0) != std::string::npos)
     110    {}
     111  }
     112}
     113
     114
    93115
    94116/**
Note: See TracChangeset for help on using the changeset viewer.