Public Member Functions | Static Public Attributes
T2DVectorfield< T > Class Template Reference

2D Vector field More...

#include <mia/2d/vectorfield.hh>

Inheritance diagram for T2DVectorfield< T >:
T2DDatafield< T > CAttributedData

Public Member Functions

 T2DVectorfield ()
 
 T2DVectorfield (const C2DBounds &size)
 
 T2DVectorfield (const CAttributedData &data, const C2DBounds &size)
 
- Public Member Functions inherited from T2DDatafield< T >
const_iterator begin () const
 
iterator begin ()
 
const_iterator begin_at (size_t x, size_t y) const
 
iterator begin_at (size_t x, size_t y)
 
range_iterator begin_range (const C2DBounds &begin, const C2DBounds &end)
 
const_range_iterator begin_range (const C2DBounds &begin, const C2DBounds &end) const
 
void clear ()
 
const_iterator end () const
 
iterator end ()
 
range_iterator end_range (const C2DBounds &begin, const C2DBounds &end)
 
const_range_iterator end_range (const C2DBounds &begin, const C2DBounds &end) const
 
void get_data_line_x (size_t y, std::vector< T > &buffer) const
 
void get_data_line_y (size_t x, std::vector< T > &buffer) const
 
get_interpol_val_at (const C2DFVector &p) const
 This function should really go away. More...
 
const C2DBoundsget_size () const
 
void make_single_ref ()
 
const_reference operator() (size_t x, size_t y) const
 
reference operator() (size_t x, size_t y)
 
const_reference operator() (const C2DBounds &l) const
 
reference operator() (const C2DBounds &l)
 
T2DDatafieldoperator= (const T2DDatafield &org)
 
const_reference operator[] (size_t idx) const
 
reference operator[] (size_t idx)
 
void put_data_line_x (size_t y, const std::vector< T > &buffer)
 
void put_data_line_y (size_t x, const std::vector< T > &buffer)
 
size_type size () const
 
 T2DDatafield ()
 
 T2DDatafield (const C2DBounds &size)
 
 T2DDatafield (const C2DBounds &size, const T *_data)
 
 T2DDatafield (const C2DBounds &size, const data_array &data)
 
 T2DDatafield (const T2DDatafield< T > &org)
 
virtual ~T2DDatafield ()
 
- Public Member Functions inherited from CAttributedData
CAttributeMap::const_iterator begin_attributes () const
 
void delete_attribute (const std::string &key)
 
CAttributeMap::const_iterator end_attributes () const
 
const PAttribute get_attribute (const std::string &key) const
 
template<typename T >
const T get_attribute_as (const std::string &key) const
 
const std::string get_attribute_as_string (const std::string &key) const
 returns the requested attribute as string, returns an empty string if attribute doesn't exist More...
 
bool has_attribute (const std::string &key) const
 
CAttributedDataoperator= (const CAttributedData &org)
 Assignemt operator. More...
 
void set_attribute (const std::string &key, PAttribute attr)
 
void set_attribute (const std::string &key, const std::string &value)
 
void set_attributes (CAttributeMap::const_iterator begin, CAttributeMap::const_iterator end)
 
 CAttributedData ()
 
 CAttributedData (const CAttributedData &org)
 
 CAttributedData (PAttributeMap attr)
 

Static Public Attributes

static const char * data_descr
 plug.in related type description string More...
 

Additional Inherited Members

- Public Types inherited from T2DDatafield< T >
typedef ::std::vector< T > data_array
 type for the flat reprentation of the 2D data field More...
 
typedef std::shared_ptr
< data_array
data_pointer
 pointer type More...
 

Detailed Description

template<typename T>
class T2DVectorfield< T >

2D Vector field

This class provides an interface to make the IO opf vector fields possible

Definition at line 36 of file 2d/vectorfield.hh.

Constructor & Destructor Documentation

template<typename T>
T2DVectorfield< T >::T2DVectorfield ( )
inline

Definition at line 41 of file 2d/vectorfield.hh.

template<typename T>
T2DVectorfield< T >::T2DVectorfield ( const C2DBounds size)
inline

Contruct a vector field of the given size

Parameters
sizeof vector field

Definition at line 47 of file 2d/vectorfield.hh.

template<typename T>
T2DVectorfield< T >::T2DVectorfield ( const CAttributedData data,
const C2DBounds size 
)
inline
Parameters
datameta data
sizeof vector field

Definition at line 55 of file 2d/vectorfield.hh.

Field Documentation

template<typename T>
const char* T2DVectorfield< T >::data_descr
static

plug.in related type description string

Definition at line 39 of file 2d/vectorfield.hh.


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