Show
Ignore:
Timestamp:
05/05/08 07:12:19 (3 months ago)
Author:
vossg
Message:

changed: interface cleanup, removed ptr typedefs, nullfc

these will be needed for the 1.x compat stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/Contrib/VTK/OSGVTKMapperBase.h

    r1193 r1198  
    184184 
    185185 
    186                   NodePtr getRoot           (void) const; 
    187  
    188                   NodePtr getGeoRoots       (const UInt32 index) const; 
    189  
    190                   GeometryPtr getGeometries     (const UInt32 index) const; 
    191  
    192                   ChunkMaterialPtr getMaterials      (const UInt32 index) const; 
    193  
    194                   MaterialChunkPtr getMaterialChunks (const UInt32 index) const; 
    195  
    196                   GeoPnt3fPropertyPtr getPositions      (const UInt32 index) const; 
    197  
    198                   GeoUInt32PropertyPtr getLength         (const UInt32 index) const; 
    199  
    200                   GeoUInt8PropertyPtr getTypes          (const UInt32 index) const; 
    201  
    202                   GeoColor4fPropertyPtr getColors         (const UInt32 index) const; 
    203  
    204                   GeoVec3fPropertyPtr getNormals        (const UInt32 index) const; 
     186                  Node * getRoot           (void) const; 
     187 
     188                  Node * getGeoRoots       (const UInt32 index) const; 
     189 
     190                  Geometry * getGeometries     (const UInt32 index) const; 
     191 
     192                  ChunkMaterial * getMaterials      (const UInt32 index) const; 
     193 
     194                  MaterialChunk * getMaterialChunks (const UInt32 index) const; 
     195 
     196                  GeoPnt3fProperty * getPositions      (const UInt32 index) const; 
     197 
     198                  GeoUInt32Property * getLength         (const UInt32 index) const; 
     199 
     200                  GeoUInt8Property * getTypes          (const UInt32 index) const; 
     201 
     202                  GeoColor4fProperty * getColors         (const UInt32 index) const; 
     203 
     204                  GeoVec3fProperty * getNormals        (const UInt32 index) const; 
    205205 
    206206    /*! \}                                                                 */ 
     
    209209    /*! \{                                                                 */ 
    210210 
    211             void setRoot           (const NodePtr value); 
     211            void setRoot           (Node * const value); 
    212212 
    213213    /*! \}                                                                 */ 
     
    221221    /*! \{                                                                 */ 
    222222 
    223     void pushToGeoRoots            (const NodePtr value   ); 
    224     void assignGeoRoots            (const MFUnrecNodePtr    &value); 
    225     void removeFromGeoRoots (UInt32                uiIndex ); 
    226     void removeFromGeoRoots(const NodePtr value   ); 
     223    void pushToGeoRoots            (Node * const value   ); 
     224    void assignGeoRoots           (const MFUnrecNodePtr    &value); 
     225    void removeFromGeoRoots (UInt32               uiIndex ); 
     226    void removeFromGeoRoots(Node * const value   ); 
    227227    void clearGeoRoots              (void                          ); 
    228228 
    229229 
    230     void pushToGeometries           (const GeometryPtr value   ); 
    231     void assignGeometries          (const MFUnrecGeometryPtr &value); 
    232     void removeFromGeometries (UInt32                uiIndex ); 
    233     void removeFromGeometries(const GeometryPtr value   ); 
     230    void pushToGeometries           (Geometry * const value   ); 
     231    void assignGeometries          (const MFUnrecGeometryPtr &value); 
     232    void removeFromGeometries (UInt32               uiIndex ); 
     233    void removeFromGeometries(Geometry * const value   ); 
    234234    void clearGeometries            (void                          ); 
    235235 
    236236 
    237     void pushToMaterials           (const ChunkMaterialPtr value   ); 
    238     void assignMaterials          (const MFUnrecChunkMaterialPtr &value); 
    239     void removeFromMaterials (UInt32                uiIndex ); 
    240     void removeFromMaterials(const ChunkMaterialPtr value   ); 
     237    void pushToMaterials           (ChunkMaterial * const value   ); 
     238    void assignMaterials          (const MFUnrecChunkMaterialPtr &value); 
     239    void removeFromMaterials (UInt32               uiIndex ); 
     240    void removeFromMaterials(ChunkMaterial * const value   ); 
    241241    void clearMaterials             (void                          ); 
    242242 
    243243 
    244     void pushToMaterialChunks           (const MaterialChunkPtr value   ); 
    245     void assignMaterialChunks          (const MFUnrecMaterialChunkPtr &value); 
    246     void removeFromMaterialChunks (UInt32                uiIndex ); 
    247     void removeFromMaterialChunks(const MaterialChunkPtr value   ); 
     244    void pushToMaterialChunks           (MaterialChunk * const value   ); 
     245    void assignMaterialChunks          (const MFUnrecMaterialChunkPtr &value); 
     246    void removeFromMaterialChunks (UInt32               uiIndex ); 
     247    void removeFromMaterialChunks(MaterialChunk * const value   ); 
    248248    void clearMaterialChunks            (void                          ); 
    249249 
    250250 
    251     void pushToPositions           (const GeoPnt3fPropertyPtr value   ); 
    252     void assignPositions          (const MFUnrecGeoPnt3fPropertyPtr &value); 
    253     void removeFromPositions (UInt32                uiIndex ); 
    254     void removeFromPositions(const GeoPnt3fPropertyPtr value   ); 
     251    void pushToPositions           (GeoPnt3fProperty * const value   ); 
     252    void assignPositions          (const MFUnrecGeoPnt3fPropertyPtr &value); 
     253    void removeFromPositions (UInt32               uiIndex ); 
     254    void removeFromPositions(GeoPnt3fProperty * const value   ); 
    255255    void clearPositions             (void                          ); 
    256256 
    257257 
    258     void pushToLength              (const GeoUInt32PropertyPtr value   ); 
    259     void assignLength              (const MFUnrecGeoUInt32PropertyPtr &value); 
    260     void removeFromLength (UInt32                uiIndex ); 
    261     void removeFromLength(const GeoUInt32PropertyPtr value   ); 
     258    void pushToLength              (GeoUInt32Property * const value   ); 
     259    void assignLength             (const MFUnrecGeoUInt32PropertyPtr &value); 
     260    void removeFromLength (UInt32               uiIndex ); 
     261    void removeFromLength(GeoUInt32Property * const value   ); 
    262262    void clearLength                (void                          ); 
    263263 
    264264 
    265     void pushToTypes               (const GeoUInt8PropertyPtr value   ); 
    266     void assignTypes              (const MFUnrecGeoUInt8PropertyPtr &value); 
    267     void removeFromTypes (UInt32                uiIndex ); 
    268     void removeFromTypes(const GeoUInt8PropertyPtr value   ); 
     265    void pushToTypes               (GeoUInt8Property * const value   ); 
     266    void assignTypes              (const MFUnrecGeoUInt8PropertyPtr &value); 
     267    void removeFromTypes (UInt32               uiIndex ); 
     268    void removeFromTypes(GeoUInt8Property * const value   ); 
    269269    void clearTypes                 (void                          ); 
    270270 
    271271 
    272     void pushToColors              (const GeoColor4fPropertyPtr value   ); 
    273     void assignColors              (const MFUnrecGeoColor4fPropertyPtr &value); 
    274     void removeFromColors (UInt32                uiIndex ); 
    275     void removeFromColors(const GeoColor4fPropertyPtr value   ); 
     272    void pushToColors              (GeoColor4fProperty * const value   ); 
     273    void assignColors             (const MFUnrecGeoColor4fPropertyPtr &value); 
     274    void removeFromColors (UInt32               uiIndex ); 
     275    void removeFromColors(GeoColor4fProperty * const value   ); 
    276276    void clearColors                (void                          ); 
    277277 
    278278 
    279     void pushToNormals             (const GeoVec3fPropertyPtr value   ); 
    280     void assignNormals            (const MFUnrecGeoVec3fPropertyPtr &value); 
    281     void removeFromNormals (UInt32                uiIndex ); 
    282     void removeFromNormals(const GeoVec3fPropertyPtr value   ); 
     279    void pushToNormals             (GeoVec3fProperty * const value   ); 
     280    void assignNormals            (const MFUnrecGeoVec3fPropertyPtr &value); 
     281    void removeFromNormals (UInt32               uiIndex ); 
     282    void removeFromNormals(GeoVec3fProperty * const value   ); 
    283283    void clearNormals               (void                          ); 
    284284 
     
    301301    /*! \{                                                                 */ 
    302302 
    303     static  VTKMapperTransitPtr create          (void); 
    304     static  VTKMapperPtr        createEmpty     (void); 
    305  
    306     static  VTKMapperTransitPtr createLocal     ( 
    307                                               BitVector bFlags = FCLocal::All); 
    308  
    309     static  VTKMapperPtr        createEmptyLocal( 
     303    static  VTKMapperTransitPtr create          (void); 
     304    static  VTKMapper           *createEmpty     (void); 
     305 
     306    static  VTKMapperTransitPtr createLocal     ( 
     307                                              BitVector bFlags = FCLocal::All); 
     308 
     309    static  VTKMapper            *createEmptyLocal( 
    310310                                              BitVector bFlags = FCLocal::All); 
    311311 
     
    422422 
    423423#ifdef OSG_MT_CPTR_ASPECT 
    424     virtual FieldContainerPtr createAspectCopy(void) const; 
     424    virtual FieldContainer *createAspectCopy(void) const; 
    425425#endif 
    426426