From Ulrich Hertlien, added ReaderWriter::Options to the osgconv and pfb plugin

so that all the pfi files can be converted to rgb be the plugin.
This commit is contained in:
Robert Osfield
2002-11-04 09:08:50 +00:00
parent 22c6fa1565
commit a6eafa79e2
5 changed files with 63 additions and 18 deletions

View File

@@ -169,7 +169,7 @@ class SG_EXPORT GeoSet : public Drawable
// data access methods.
inline void setNumPrims( int n ) { _numprims = n; }
inline void setNumPrims( int n ) { _numprims = n; _numcoords=0;}
inline int getNumPrims() const { return _numprims; }
void setPrimType( PrimitiveType type );

View File

@@ -408,7 +408,7 @@ class SG_EXPORT HeightField : public Shape
virtual bool isSameKindAs(const Object* obj) const { return dynamic_cast<const HeightField*>(obj)!=NULL; }
virtual const char* libraryName() const { return "osg"; }
virtual const char* className() const { return "HeightFiled"; }
virtual const char* className() const { return "HeightField"; }
virtual void accept(osg::ShapeVisitor& sv) { sv.apply(*this); }
virtual void accept(osg::ConstShapeVisitor& csv) const { csv.apply(*this); }