visGrid Class Reference

[VisAPI Index] [VisAPI Hierarchy]


More...

#include <VisApi/VisApi.h>

Inherits: visObject

Public Members

Protected Members


inline unsigned int getDim()

Return field dimension.

inline unsigned int getSize(unsigned int i)

Return field size in dimension i.

PRE: 0 <= i < this->getDim()

void getSize(int *d)

Get size of field in array d.

PRE: d must be allocated as array of size this->getDim()

inline int getAttributes()

Return number of attributes of this field. May be 0.

virtual int getCellTypes()

Return number of cell types.

virtual int getCellDim()

Return cell dimension of cell type c.

virtual int getCellNodes()

Return number of nodes of cell type c.

virtual void setCursor(const int *p)

Set cursor to position p.

PRE: 0 <= p[i] < this->getSize(i), 0 <= i < this->getDim()

virtual int getCursor(unsigned int i)

Get position of cursor.

PRE: 0 <= i < this->getDim()

void getCursor(int *p)

Get position of cursor in array p.

PRE: p must be allocated as array of size this->getDim()

virtual const char *getAttrName(int t)

Return cell renderer

virtual int getCells()

Return number of cells in the grid.

virtual int getNodes()

Return number of nodes in the grid.

virtual visAttribute* getCellAttribute(int t)

Return attribute i of actual cursor pos.

virtual void getCellAttribute(int t, visAttribute* attr)

Write attribute t to attr.


Documentation generated by breitlip@atzenger10 on Mon Jan 17 19:29:23 CET 2000
Kdoc