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