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

#include <VFData.h>

Inheritance diagram for VFData:
VFDataT< FDATA, EFDATA, HFDATA > VFDataScalarT< FDATA, EFDATA, HFDATA > VFDataTensorT< FDATA, EFDATA, HFDATA > VFDataVectorT< FDATA, EFDATA, HFDATA >

Public Member Functions

virtual ~VFData ()
 
virtual VMesh::size_type fdata_size () const
 
virtual VMesh::size_type efdata_size () const
 
virtual void resize_fdata (VMesh::dimension_type dim)
 
virtual void resize_efdata (VMesh::dimension_type dim)
 
virtual void * fdata_pointer () const
 
virtual void * efdata_pointer () const
 
virtual void copy_value (VFData *fdata, VMesh::index_type vidx, VMesh::index_type idx)
 Copy a value without needing to know the type. More...
 
virtual void copy_values (VFData *fdata, VMesh::index_type vidx, VMesh::index_type idx, VMesh::size_type num)
 
virtual void copy_weighted_value (VFData *fdata, VMesh::index_type *vidx, VMesh::weight_type *vw, VMesh::size_type sz, VMesh::index_type idx)
 Copy a weighted value without needing to know the type. More...
 
virtual void copy_evalue (VFData *fdata, VMesh::index_type vidx, VMesh::index_type idx)
 Copy a edge value without needing to know the type. More...
 
virtual void copy_evalues (VFData *fdata, VMesh::index_type vidx, VMesh::index_type idx, VMesh::size_type num)
 
virtual void copy_weighted_evalue (VFData *fdata, VMesh::index_type *vidx, VMesh::weight_type *vw, VMesh::size_type sz, VMesh::index_type idx)
 Copy a weighted edge value without needing to know the type. More...
 
virtual void copy_values (VFData *fdata)
 Copy values from one FData array to another FData array. More...
 
virtual void copy_evalues (VFData *fdata)
 
virtual bool min (double &val, VMesh::index_type &idx) const
 
virtual bool max (double &val, VMesh::index_type &idx) const
 
virtual bool minmax (double &min, VMesh::index_type &idxmin, double &max, VMesh::index_type &idxmax) const
 
virtual VMesh::size_type size ()
 

Detailed Description

Interface class to data stored in field. The VField class has a pointer to this class and hence can call the appropriate function from the table listed by this class. This class works with references to the original class and hence the additional overhead should be small.

Constructor & Destructor Documentation

virtual ~VFData ( )
inlinevirtual

Member Function Documentation

void copy_evalue ( VFData fdata,
VMesh::index_type  vidx,
VMesh::index_type  idx 
)
virtual

Copy a edge value without needing to know the type.

Reimplemented in VFDataT< FDATA, EFDATA, HFDATA >.

void copy_evalues ( VFData fdata,
VMesh::index_type  vidx,
VMesh::index_type  idx,
VMesh::size_type  num 
)
virtual
void copy_evalues ( VFData fdata)
virtual
void copy_value ( VFData fdata,
VMesh::index_type  vidx,
VMesh::index_type  idx 
)
virtual

Copy a value without needing to know the type.

Reimplemented in VFDataT< FDATA, EFDATA, HFDATA >.

void copy_values ( VFData fdata,
VMesh::index_type  vidx,
VMesh::index_type  idx,
VMesh::size_type  num 
)
virtual
void copy_values ( VFData fdata)
virtual

Copy values from one FData array to another FData array.

Reimplemented in VFDataT< FDATA, EFDATA, HFDATA >.

void copy_weighted_evalue ( VFData fdata,
VMesh::index_type vidx,
VMesh::weight_type vw,
VMesh::size_type  sz,
VMesh::index_type  idx 
)
virtual

Copy a weighted edge value without needing to know the type.

Reimplemented in VFDataT< FDATA, EFDATA, HFDATA >.

void copy_weighted_value ( VFData fdata,
VMesh::index_type vidx,
VMesh::weight_type vw,
VMesh::size_type  sz,
VMesh::index_type  idx 
)
virtual

Copy a weighted value without needing to know the type.

void * efdata_pointer ( ) const
virtual
VMesh::size_type efdata_size ( ) const
virtual
void * fdata_pointer ( ) const
virtual
VMesh::size_type fdata_size ( ) const
virtual
bool max ( double &  val,
VMesh::index_type idx 
) const
virtual
bool min ( double &  val,
VMesh::index_type idx 
) const
virtual
bool minmax ( double &  min,
VMesh::index_type idxmin,
double &  max,
VMesh::index_type idxmax 
) const
virtual
void resize_efdata ( VMesh::dimension_type  dim)
virtual
void resize_fdata ( VMesh::dimension_type  dim)
virtual
VMesh::size_type size ( )
virtual

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