30 #include <boost/shared_ptr.hpp>
31 #include <boost/enable_shared_from_this.hpp>
33 #include <osg/ref_ptr>
35 #include "../common/WDefines.h"
36 #include "../common/WProperties.h"
37 #include "../common/WTransferable.h"
38 #include "WDataTexture3D.h"
57 typedef boost::shared_ptr< WDataSet >
SPtr;
62 typedef boost::shared_ptr< const WDataSet >
ConstSPtr;
129 virtual osg::ref_ptr< WDataTexture3D >
getTexture()
const;
136 virtual const std::string
getName()
const;
This data set type contains vectors as values.
Base class for all data set types.
static boost::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
virtual ~WDataSet()
Since WDataSet is a base class and thus should be polymorphic we add virtual destructor.
OW_API_DEPRECATED void setFileName(const std::string filename)
Set the name of the file that this data set stems from.
virtual const std::string getDescription() const
Gets the description for this prototype.
std::string getFilename() const
Get the name of the file that this data set stems from.
boost::shared_ptr< WProperties > getInformationProperties() const
Return a pointer to the information properties object of the dataset.
virtual const std::string getName() const
Gets the name of this prototype.
void setFilename(const std::string filename)
Set the name of the file that this data set stems from.
boost::shared_ptr< WProperties > m_properties
The property object for the dataset.
Class building the interface for classes that might be transferred using WModuleConnector.
OW_API_DEPRECATED std::string getFileName() const
Get the name of the file that this data set stems from.
#define OW_API_DEPRECATED
In order to mark functions for the compiler as deprecated we need to put this before each deprecated ...
boost::shared_ptr< WProperties > getProperties() const
Return a pointer to the properties object of the dataset.
boost::shared_ptr< WProperties > m_infoProperties
The property object for the dataset containing only props whose purpose is "PV_PURPOSE_INFORMNATION"...
virtual boost::shared_ptr< WDataSetVector > isVectorDataSet()
Checks if this dataset is a vector dataset.
std::string m_filename
Name of the file this data set was loaded from.
Class to encapsulate boost::condition_variable_any.
boost::shared_ptr< const WDataSet > ConstSPtr
Shared pointer abbreviation to a const instance of this class.
static boost::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
virtual osg::ref_ptr< WDataTexture3D > getTexture() const
Returns the texture- representation of the dataset.
WDataSet()
This constructor should be used if a dataSet does not stem from a file.
virtual bool isTexture() const
Determines whether this dataset can be used as a texture.
boost::shared_ptr< WDataSet > SPtr
Shared pointer abbreviation to a instance of this class.