SCIRun
5.0
|
#include <NrrdData.h>
Public Member Functions | |
NrrdData () | |
NrrdData (Nrrd *nrrd) | |
NrrdData (LockingHandle< Datatype > data_owner) | |
NrrdData (const NrrdData &) | |
virtual | ~NrrdData () |
virtual NrrdData * | clone () |
virtual void | io (Piostream &) |
virtual std::string | dynamic_type_name () const |
void | set_embed_object (bool v) |
bool | get_embed_object () |
void | set_filename (const std::string &f) |
const std::string | get_filename () const |
![]() | |
PropertyManager () | |
PropertyManager (const PropertyManager ©) | |
virtual | ~PropertyManager () |
PropertyManager & | operator= (const PropertyManager &pm) |
void | copy_properties (const PropertyManager *src) |
bool | operator== (const PropertyManager &pm) |
bool | operator!= (const PropertyManager &pm) |
template<class T > | |
void | set_property (const std::string &, const T &, bool is_transient) |
template<class T > | |
bool | get_property (const std::string &, T &) |
bool | is_property (const std::string &) |
std::string | get_property_name (size_t index) |
virtual void | freeze () |
– mutability – More... | |
virtual void | thaw () |
thaw will remove all transient properties from the PropertyManager. More... | |
bool | is_frozen () const |
query frozen state of a PropertyManager. More... | |
void | remove_property (const std::string &) |
size_t | nproperties () const |
const std::map< std::string, PropertyBase * > & | properties () const |
void | set_name (const std::string &name) |
std::string | get_name () |
![]() | |
virtual | ~Persistent () |
Static Public Member Functions | |
static void | lock_teem () |
static void | unlock_teem () |
![]() | |
static PersistentTypeIDPtr | find_derived (const std::string &classname, const std::string &basename) |
static bool | is_base_of (const std::string &parent, const std::string &type) |
static void | add_class (const std::string &type, const std::string &parent, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
static void | add_mesh_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
static void | add_field_class (const std::string &type, Persistent *(*maker)(), Persistent *(*bc_maker1)()=0, Persistent *(*bc_maker2)()=0) |
Public Attributes | |
Nrrd * | nrrd_ |
bool | write_nrrd_ |
Static Public Attributes | |
static PersistentTypeID | type_id |
![]() | |
static PersistentTypeID | type_id |
Protected Member Functions | |
bool | in_name_set (const std::string &s) const |
![]() | |
void | clear_transient () |
A frozen PropertyManager may store transient data. More... | |
Static Protected Member Functions | |
static Persistent * | maker () |
Protected Attributes | |
bool | embed_object_ |
LockingHandle< Datatype > | data_owner_ |
Either the NrrdData owns the data or it wraps this external object. More... | |
std::string | nrrd_fname_ |
![]() | |
bool | frozen_ |
Core::Thread::Mutex | lock |
NrrdData | ( | ) |
NrrdData | ( | Nrrd * | nrrd | ) |
|
virtual |
|
virtual |
|
inlinevirtual |
Reimplemented from PropertyManager.
|
inline |
|
inline |
|
protected |
|
virtual |
Reimplemented from PropertyManager.
|
static |
|
staticprotected |
|
inline |
|
inline |
|
static |
|
protected |
Either the NrrdData owns the data or it wraps this external object.
|
protected |
Nrrd* nrrd_ |
|
protected |
|
static |
bool write_nrrd_ |