Vtk::Linearizer Class Reference

TODO: output quad for prisms. More...

List of all members.

Classes

struct  Cell

Public Member Functions

 Linearizer ()
virtual ~Linearizer ()
Array< Vertex * > & get_points ()
Array< Cell * > & get_cells ()
Array< double > & get_cell_data ()
Array< double > & get_point_data (int idx=0)
int add_point (double x, double y, double z)
int add_cell (Linearizer::Cell::EType type, int n, int *vtcs)
 Adding cells prepared by VtkOuputEngine (0-based indexing).
void set_cell_data (int i, double v)
void set_point_data (int i, double v)
void set_point_data (int i, double v0, double v1, double v2)

Public Attributes

Map< double3, int > vertex_id
Array< Vertex * > points
Array< Cell * > cells
Array< double > cell_data
Array< double > pt_data [3]

Detailed Description

TODO: output quad for prisms.

A class to linearize a higher-order functions to be able to visualize them

NOTE: Not really a linearizer, so far it just stores vertices, elements and values It is in Vtk namespace so that it does not interfere with the rest of the code, but when a true linearizer is implemented this class will move from this namespace.


Constructor & Destructor Documentation

Vtk::Linearizer::Linearizer (  )  [inline]
Vtk::Linearizer::~Linearizer (  )  [virtual]

Member Function Documentation

int Vtk::Linearizer::add_cell ( Linearizer::Cell::EType  type,
int  n,
int *  vtcs 
)

Adding cells prepared by VtkOuputEngine (0-based indexing).

int Vtk::Linearizer::add_point ( double  x,
double  y,
double  z 
)
Array<double>& Vtk::Linearizer::get_cell_data (  )  [inline]
Array<Cell *>& Vtk::Linearizer::get_cells (  )  [inline]
Array<double>& Vtk::Linearizer::get_point_data ( int  idx = 0  )  [inline]
Array<Vertex *>& Vtk::Linearizer::get_points (  )  [inline]
void Vtk::Linearizer::set_cell_data ( int  i,
double  v 
) [inline]
void Vtk::Linearizer::set_point_data ( int  i,
double  v0,
double  v1,
double  v2 
) [inline]
void Vtk::Linearizer::set_point_data ( int  i,
double  v 
) [inline]

Member Data Documentation

Array<double> Vtk::Linearizer::pt_data[3]

The documentation for this class was generated from the following file:
Generated on Fri Sep 3 09:22:20 2010 for Hermes3D Library: Real Version by  doxygen 1.6.3