SCIRun  5.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Image Class Reference

#include <Image.h>

Inheritance diagram for Image:
Datatype Persistent UsedWithLockingHandle< RecursiveMutex > UsedWithLockingHandleBase

Public Member Functions

 Image (int xres, int yres)
 
 Image (const Image &)
 
virtual ~Image ()
 
int xres () const
 
int yres () const
 
float getr (int x, int y)
 
void set (int x, int y, float r, float i)
 
float max_abs ()
 
virtual Imageclone ()
 
virtual void io (Piostream &)
 
virtual std::string dynamic_type_name () const
 
- Public Member Functions inherited from Datatype
 Datatype ()
 
 Datatype (const Datatype &)
 
Datatypeoperator= (const Datatype &)
 
virtual ~Datatype ()
 
- Public Member Functions inherited from Persistent
virtual ~Persistent ()
 
- Public Member Functions inherited from UsedWithLockingHandle< RecursiveMutex >
 UsedWithLockingHandle (const char *name)
 
- Public Member Functions inherited from UsedWithLockingHandleBase
virtual ~UsedWithLockingHandleBase ()
 

Public Attributes

float ** rows
 
int xr
 
int yr
 
- Public Attributes inherited from Datatype
int generation
 unique id for each instance More...
 
- Public Attributes inherited from UsedWithLockingHandle< RecursiveMutex >
int ref_cnt
 
RecursiveMutex lock
 

Static Public Attributes

static PersistentTypeID type_id
 

Additional Inherited Members

- Static Public Member Functions inherited from Datatype
static int compute_new_generation ()
 
- Static Public Member Functions inherited from Persistent
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)
 

Constructor & Destructor Documentation

Image ( int  xres,
int  yres 
)
Image ( const Image copy)
~Image ( )
virtual

Member Function Documentation

Image * clone ( )
virtual
virtual std::string dynamic_type_name ( ) const
inlinevirtual

Implements Datatype.

float getr ( int  x,
int  y 
)
inline
void io ( Piostream stream)
virtual

Reimplemented from Persistent.

float max_abs ( )
void set ( int  x,
int  y,
float  r,
float  i 
)
inline
int xres ( ) const
int yres ( ) const

Member Data Documentation

float** rows
PersistentTypeID type_id
static
int xr
int yr

The documentation for this class was generated from the following files: