Added VolumeSettings::Filename property.
git-svn-id: http://svn.openscenegraph.org/osg/OpenSceneGraph/trunk@14383 16af8721-9629-0410-8352-f15c8da7e697
This commit is contained in:
@@ -33,6 +33,9 @@ class OSGVOLUME_EXPORT VolumeSettings : public Property
|
||||
virtual void accept(PropertyVisitor& pv);
|
||||
virtual void traverse(PropertyVisitor& pv);
|
||||
|
||||
void setFilename(const std::string& str) { _filename = str; }
|
||||
const std::string& getFilename() const { return _filename; }
|
||||
|
||||
enum Technique
|
||||
{
|
||||
FixedFunction,
|
||||
@@ -74,6 +77,8 @@ class OSGVOLUME_EXPORT VolumeSettings : public Property
|
||||
|
||||
virtual ~VolumeSettings() {}
|
||||
|
||||
std::string _filename;
|
||||
|
||||
Technique _technique;
|
||||
ShadingModel _shadingModel;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user