Changeset 97

Show
Ignore:
Timestamp:
09/12/06 17:16:55 (2 years ago)
Author:
allenb
Message:

- Make the getData() method non-pure for a bit. I need this to generate python bindings for now.

This should be changed back as soon as I can figure out how to work around this problem with boost.python.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Source/System/NodeCores/Drawables/Geometry/Properties/OSGGeoProperty.h

    r2 r97  
    5353class Window; 
    5454 
    55 /*! \brief GeoProperty class. See \ref  
     55/*! \brief GeoProperty class. See \ref 
    5656           PageSystemGeoProperty for a description. 
    5757*/ 
     
    7777    virtual       UInt32  getSize      (void) const; 
    7878    virtual       UInt32  size         (void) const = 0; 
    79     virtual const UInt8  *getData      (void) const = 0; 
     79    virtual const UInt8  *getData      (void) const 
     80    { return NULL;  } 
    8081 
    8182    /*! \}                                                                 */ 
     
    8485    /*! \{                                                                 */ 
    8586 
    86     virtual void changed(ConstFieldMaskArg whichField,  
     87    virtual void changed(ConstFieldMaskArg whichField, 
    8788                         UInt32            origin    ); 
    8889 
     
    9293    /*! \{                                                                 */ 
    9394 
    94     virtual void dump(      UInt32     uiIndent = 0,  
     95    virtual void dump(      UInt32     uiIndent = 0, 
    9596                      const BitVector  bvFlags  = 0) const; 
    9697 
     
    117118    virtual void activate      (DrawEnv *pEnv, UInt32 index = 0) = 0; 
    118119 
    119     virtual void changeFrom    (DrawEnv    *pEnv,  
     120    virtual void changeFrom    (DrawEnv    *pEnv, 
    120121                                StateChunk *old, 
    121122                                UInt32      index = 0)  = 0; 
     
    165166    /*! \{                                                                 */ 
    166167 
    167     virtual ~GeoProperty(void);  
     168    virtual ~GeoProperty(void); 
    168169 
    169170    /*! \}                                                                 */ 
    170171 
    171172    virtual GLenum getBufferType(void) = 0; // buffer type for VBOs 
    172      
     173 
    173174    static StateChunkClass _class; 
    174175 
     
    214215 
    215216    void handleGL(DrawEnv *pEnv, UInt32 id); 
    216      
     217 
    217218   /*! \}                                                                 */ 
    218219