Tulip Plugins
Public Member Functions
Grid Class Reference

Grid - Import a grid. More...

List of all members.

Public Member Functions

 Grid (AlgorithmContext context)
 ~Grid ()
void buildRow (const vector< node > &nodes, vector< pair< node, node > > &ends, unsigned int iRow, unsigned width, int conn, bool isTore, double spacing)
void connectRow (const vector< node > &nodes, vector< pair< node, node > > &ends, unsigned int row1, unsigned int row2, unsigned int width, int conn, bool isTore)
bool import (const string &)

Detailed Description

Grid - Import a grid.

This plugin enables to create a grid.

User can specify the connectivity of each nodes in the grid, spacing between nodes and if opposite nodes are connected.


Constructor & Destructor Documentation

Grid::Grid ( AlgorithmContext  context) [inline]
Grid::~Grid ( ) [inline]

Member Function Documentation

void Grid::buildRow ( const vector< node > &  nodes,
vector< pair< node, node > > &  ends,
unsigned int  iRow,
unsigned  width,
int  conn,
bool  isTore,
double  spacing 
) [inline]
void Grid::connectRow ( const vector< node > &  nodes,
vector< pair< node, node > > &  ends,
unsigned int  row1,
unsigned int  row2,
unsigned int  width,
int  conn,
bool  isTore 
) [inline]
bool Grid::import ( const string &  ) [inline]