SbStructuredQuadrilateralMesh Class Reference

ImageViz Structured quadrilateral mesh. More...

#include <ImageViz/SbStructuredQuadrilateralMesh.h>

Inheritance diagram for SbStructuredQuadrilateralMesh:
SoRefCounter

List of all members.

Public Member Functions

 SbStructuredQuadrilateralMesh (size_t numCellsI, size_t numCellsJ)
virtual ~SbStructuredQuadrilateralMesh ()
size_t getNumCellsI () const
size_t getNumCellsJ () const
void setVertex (size_t i, size_t j, SbVec3f vertex)
SbVec3f getVertex (size_t i, size_t j) const

Friends

class SoSurfaceUnfoldingProcessing3dImpl
class SoQuadrilateralMeshSlicerApproximation3dImpl

Detailed Description

ImageViz Structured quadrilateral mesh.

Its nodes are ordered and can be accessed by i, j indices. All cells are quadrilateral.

Defines a list of 3d vertices that can be accessed by (i,j) indices.

SEE ALSO

SoSFStructuredQuadrilateralMesh


Constructor & Destructor Documentation

SbStructuredQuadrilateralMesh::SbStructuredQuadrilateralMesh ( size_t  numCellsI,
size_t  numCellsJ 
)

Constructor requiring the mesh number of cells in row and column.

virtual SbStructuredQuadrilateralMesh::~SbStructuredQuadrilateralMesh (  )  [virtual]

Destructor.


Member Function Documentation

size_t SbStructuredQuadrilateralMesh::getNumCellsI (  )  const

Returns the mesh number of cell by row.

size_t SbStructuredQuadrilateralMesh::getNumCellsJ (  )  const

Returns the mesh number of cell by column.

SbVec3f SbStructuredQuadrilateralMesh::getVertex ( size_t  i,
size_t  j 
) const

Returns the vertex position.

Returns an empty vertex if the indices are out of the mesh range.

Parameters:
i column index of the vertex to modify. i must be in range [0-getNumCellsI()].
j row index of the vertex to modify. j must be in range [0-getNumCellsJ()].
void SbStructuredQuadrilateralMesh::setVertex ( size_t  i,
size_t  j,
SbVec3f  vertex 
)

Sets the position of a vertex.

Throws an error if the indices are out of the mesh range.

Parameters:
i column index of the vertex to modify. i must be in range [0-getNumCellsI()].
j row index of the vertex to modify. j must be in range [0-getNumCellsJ()].
vertex new value.

Friends And Related Function Documentation

friend class SoQuadrilateralMeshSlicerApproximation3dImpl [friend]
friend class SoSurfaceUnfoldingProcessing3dImpl [friend]

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/