Show
Ignore:
Timestamp:
04/04/08 00:58:00 (5 months ago)
Author:
vossg
Message:

added: basic parent handling fields

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/NodeCores/Drawables/Geometry/Base/ES/OSGGeometryBase.inl

    r1101 r1106  
    8888    editSField(TypesFieldMask); 
    8989 
    90  
    91     if(_sfTypes.getValue() != NullFC) 
    92     { 
    93         _sfTypes.getValue()->subParent(this); 
    94     } 
    95  
    9690    _sfTypes.setValue(value); 
    9791 
    98     if(_sfTypes.getValue() != NullFC) 
    99     { 
    100         _sfTypes.getValue()->addParent(this, TypesFieldMask); 
    101     } 
    102  
    10392} 
    10493 
     
    116105    editSField(LengthsFieldMask); 
    117106 
    118  
    119     if(_sfLengths.getValue() != NullFC) 
    120     { 
    121         _sfLengths.getValue()->subParent(this); 
    122     } 
    123  
    124107    _sfLengths.setValue(value); 
    125108 
    126     if(_sfLengths.getValue() != NullFC) 
    127     { 
    128         _sfLengths.getValue()->addParent(this, LengthsFieldMask); 
    129     } 
    130  
    131109} 
    132110//! Get the value of the Geometry::_sfClassicGLId field. 
     
    206184//! Get the Geometry::_mfProperties field. 
    207185inline 
    208 const MFUnrecGeoVectorPropertyPtr &GeometryBase::getProperties(void) const 
     186const MFUnrecFieldContainerChildGeoVectorPropertyPtr &GeometryBase::getProperties(void) const 
    209187{ 
    210188    return _mfProperties; 
     
    220198//! Get the Geometry::_mfPropIndices field. 
    221199inline 
    222 const MFUnrecGeoIntegralPropertyPtr &GeometryBase::getPropIndices(void) const 
     200const MFUnrecFieldContainerChildGeoIntegralPropertyPtr &GeometryBase::getPropIndices(void) const 
    223201{ 
    224202    return _mfPropIndices;