PbIrregularMesh1D Class Reference

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

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

Inheritance diagram for PbIrregularMesh1D:
PbMesh1D PbMesh PbBase

List of all members.

Public Member Functions

 PbIrregularMesh1D ()
 PbIrregularMesh1D (const PbIrregularMesh1D &mesh)
 PbIrregularMesh1D (int size, const float *x)
 ~PbIrregularMesh1D ()
PbIrregularMesh1Doperator= (const PbIrregularMesh1D &mesh)
void setGeometry (int size, const float *x)
void getGeometry (int &size, const float *&x) const
virtual SbVec3f getNodeCoord (int nod_index) const

Friends

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

Detailed Description

MeshViz Defines a irregular mono-dimensional mesh.


Constructor & Destructor Documentation

PbIrregularMesh1D::PbIrregularMesh1D (  ) 

Constructor.

PbIrregularMesh1D::PbIrregularMesh1D ( const PbIrregularMesh1D mesh  ) 

Copy constructor.

PbIrregularMesh1D::PbIrregularMesh1D ( int  size,
const float *  x 
)

Constructor with geometry.

PbIrregularMesh1D::~PbIrregularMesh1D (  ) 

Destructor.


Member Function Documentation

void PbIrregularMesh1D::getGeometry ( int &  size,
const float *&  x 
) const

Gets the mesh geometry.

x must be used like a vector (i.e. x[n]).

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

Gets the coordinates of a node.

Implements PbMesh.

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

Assignment operator.

Reimplemented from PbMesh1D.

void PbIrregularMesh1D::setGeometry ( int  size,
const float *  x 
)

Defines a new geometry.


Friends And Related Function Documentation

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

Inequality comparison operator.

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

Equality comparison operator.


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

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/