PbRegularMesh1D Class Reference
[Property]

MeshViz Defines a regular mono-dimensional mesh. More...

#include <MeshViz/3Ddata/PbRegularMesh1D.h>

Inheritance diagram for PbRegularMesh1D:
PbMesh1D PbMesh PbBase

List of all members.

Public Member Functions

 PbRegularMesh1D ()
 PbRegularMesh1D (const PbRegularMesh1D &mesh)
 PbRegularMesh1D (int numX, float xmin, float xmax)
 ~PbRegularMesh1D ()
PbRegularMesh1Doperator= (const PbRegularMesh1D &mesh)
void setGeometry (int numX, float xmin, float xmax)
void getGeometry (int &numX, float &xmin, float &xmax) const
virtual SbVec3f getNodeCoord (int nod_index) const

Friends

int operator== (const PbRegularMesh1D &m1, const PbRegularMesh1D &m2)
int operator!= (const PbRegularMesh1D &m1, const PbRegularMesh1D &m2)

Detailed Description

MeshViz Defines a regular mono-dimensional mesh.

Class to define a regular mono-dimentional mesh. This mesh is said regular because the gap between 2 consecutive nodes is constant.

The values on the mesh nodes are defined by the PbMesh::addValuesSet(set_index,val) method, where val argument is an array of num_x floats.


Constructor & Destructor Documentation

PbRegularMesh1D::PbRegularMesh1D (  ) 

Constructor.

PbRegularMesh1D::PbRegularMesh1D ( const PbRegularMesh1D mesh  ) 

Copy constructor.

PbRegularMesh1D::PbRegularMesh1D ( int  numX,
float  xmin,
float  xmax 
)

Constructor with geometry.

PbRegularMesh1D::~PbRegularMesh1D (  ) 

Destructor.


Member Function Documentation

void PbRegularMesh1D::getGeometry ( int &  numX,
float &  xmin,
float &  xmax 
) const

Gets the mesh geometry.

virtual SbVec3f PbRegularMesh1D::getNodeCoord ( int  nod_index  )  const [virtual]

Gets the coordinates of a node.

Implements PbMesh.

PbRegularMesh1D& PbRegularMesh1D::operator= ( const PbRegularMesh1D mesh  ) 

Assignment operator.

Reimplemented from PbMesh1D.

void PbRegularMesh1D::setGeometry ( int  numX,
float  xmin,
float  xmax 
)

Defines a new geometry.


Friends And Related Function Documentation

int operator!= ( const PbRegularMesh1D m1,
const PbRegularMesh1D m2 
) [friend]

Inequality comparison operator.

int operator== ( const PbRegularMesh1D m1,
const PbRegularMesh1D m2 
) [friend]

Equality comparison operator.


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

Open Inventor Toolkit reference manual, generated on 12 Feb 2024
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/