Show
Ignore:
Timestamp:
10/21/07 16:27:52 (1 year ago)
Author:
cneumann
Message:

added: typedefs for types of member fields in fc

missing includes

NOTE: Edit/GetFieldHandles are not functional right now

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/Carsten_PtrWork/Source/Contrib/VTK/OSGVTKMapperBase.cpp

    r976 r979  
    21292129             this->getType().getFieldDesc(RootFieldId))); 
    21302130 
    2131     returnValue->setSetMethod(boost::bind(&VTKMapper::setRoot,  
    2132                                           static_cast<VTKMapper *>(this), _1)); 
     2131//    returnValue->setSetMethod(boost::bind(&VTKMapper::setRoot,  
     2132//                                          static_cast<VTKMapper *>(this), _1)); 
    21332133 
    21342134    editSField(RootFieldMask); 
     
    21532153             this->getType().getFieldDesc(GeoRootsFieldId))); 
    21542154 
    2155     returnValue->setAddMethod(boost::bind(&VTKMapper::addGeoRoots,  
    2156                               static_cast<VTKMapper *>(this), _1)); 
     2155//    returnValue->setAddMethod(boost::bind(&VTKMapper::addGeoRoots,  
     2156//                              static_cast<VTKMapper *>(this), _1)); 
    21572157 
    21582158    editMField(GeoRootsFieldMask, _mfGeoRoots); 
     
    21772177             this->getType().getFieldDesc(GeometriesFieldId))); 
    21782178 
    2179     returnValue->setAddMethod(boost::bind(&VTKMapper::addGeometries,  
    2180                               static_cast<VTKMapper *>(this), _1)); 
     2179//    returnValue->setAddMethod(boost::bind(&VTKMapper::addGeometries,  
     2180//                              static_cast<VTKMapper *>(this), _1)); 
    21812181 
    21822182    editMField(GeometriesFieldMask, _mfGeometries); 
     
    22012201             this->getType().getFieldDesc(MaterialsFieldId))); 
    22022202 
    2203     returnValue->setAddMethod(boost::bind(&VTKMapper::addMaterials,  
    2204                               static_cast<VTKMapper *>(this), _1)); 
     2203//    returnValue->setAddMethod(boost::bind(&VTKMapper::addMaterials,  
     2204//                              static_cast<VTKMapper *>(this), _1)); 
    22052205 
    22062206    editMField(MaterialsFieldMask, _mfMaterials); 
     
    22252225             this->getType().getFieldDesc(MaterialChunksFieldId))); 
    22262226 
    2227     returnValue->setAddMethod(boost::bind(&VTKMapper::addMaterialChunks,  
    2228                               static_cast<VTKMapper *>(this), _1)); 
     2227//    returnValue->setAddMethod(boost::bind(&VTKMapper::addMaterialChunks,  
     2228//                              static_cast<VTKMapper *>(this), _1)); 
    22292229 
    22302230    editMField(MaterialChunksFieldMask, _mfMaterialChunks); 
     
    22492249             this->getType().getFieldDesc(PositionsFieldId))); 
    22502250 
    2251     returnValue->setAddMethod(boost::bind(&VTKMapper::addPositions,  
    2252                               static_cast<VTKMapper *>(this), _1)); 
     2251//    returnValue->setAddMethod(boost::bind(&VTKMapper::addPositions,  
     2252//                              static_cast<VTKMapper *>(this), _1)); 
    22532253 
    22542254    editMField(PositionsFieldMask, _mfPositions); 
     
    22732273             this->getType().getFieldDesc(LengthFieldId))); 
    22742274 
    2275     returnValue->setAddMethod(boost::bind(&VTKMapper::addLength,  
    2276                               static_cast<VTKMapper *>(this), _1)); 
     2275//    returnValue->setAddMethod(boost::bind(&VTKMapper::addLength,  
     2276//                              static_cast<VTKMapper *>(this), _1)); 
    22772277 
    22782278    editMField(LengthFieldMask, _mfLength); 
     
    22972297             this->getType().getFieldDesc(TypesFieldId))); 
    22982298 
    2299     returnValue->setAddMethod(boost::bind(&VTKMapper::addTypes,  
    2300                               static_cast<VTKMapper *>(this), _1)); 
     2299//    returnValue->setAddMethod(boost::bind(&VTKMapper::addTypes,  
     2300//                              static_cast<VTKMapper *>(this), _1)); 
    23012301 
    23022302    editMField(TypesFieldMask, _mfTypes); 
     
    23212321             this->getType().getFieldDesc(ColorsFieldId))); 
    23222322 
    2323     returnValue->setAddMethod(boost::bind(&VTKMapper::addColors,  
    2324                               static_cast<VTKMapper *>(this), _1)); 
     2323//    returnValue->setAddMethod(boost::bind(&VTKMapper::addColors,  
     2324//                              static_cast<VTKMapper *>(this), _1)); 
    23252325 
    23262326    editMField(ColorsFieldMask, _mfColors); 
     
    23452345             this->getType().getFieldDesc(NormalsFieldId))); 
    23462346 
    2347     returnValue->setAddMethod(boost::bind(&VTKMapper::addNormals,  
    2348                               static_cast<VTKMapper *>(this), _1)); 
     2347//    returnValue->setAddMethod(boost::bind(&VTKMapper::addNormals,  
     2348//                              static_cast<VTKMapper *>(this), _1)); 
    23492349 
    23502350    editMField(NormalsFieldMask, _mfNormals);