Hosted by: BerliOS Developer Logo

OpenMBV C++ Interface

BerliOS Project Page
Public Member Functions | Protected Attributes
OpenMBV::Grid Class Reference

A grid in x-y-Plane. More...

#include <grid.h>

Inheritance diagram for OpenMBV::Grid:
OpenMBV::RigidBody OpenMBV::DynamicColoredBody OpenMBV::Body OpenMBV::Object

List of all members.

Public Member Functions

 Grid ()
 Default constructor.
std::string getClassName ()
 Retrun the class name.
void setXSize (double length_)
 Set the length in x-direction.
double getXSize ()
void setYSize (double length_)
 Set the length in y-direction.
double getYSize ()
void setXNumber (unsigned int n_)
 Set the number of lines in x-direction.
unsigned int getXNumber ()
void setYNumber (unsigned int n_)
 Set the number of lines in x-direction.
unsigned int getYNumber ()
virtual void initializeUsingXML (xercesc::DOMElement *element)
 Initializes the time invariant part of the object using a XML node.
xercesc::DOMElement * writeXMLFile (xercesc::DOMNode *parent)

Protected Attributes

double xSize
double ySize
unsigned int nx
unsigned int ny

Detailed Description

A grid in x-y-Plane.


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