MiTopologyIjk Class Reference
[Topology]

MeshViz List of volume cells interface. More...

#include <MeshVizXLM/mesh/topology/MiTopologyIjk.h>

Inheritance diagram for MiTopologyIjk:
MiTopology MiHexahedronTopologyExplicitIjk MiVolumeTopologyExplicitIjk

List of all members.

Public Member Functions

virtual size_t getNumCellsI () const =0
virtual size_t getNumCellsJ () const =0
virtual size_t getNumCellsK () const =0
virtual bool isDead (size_t i, size_t j, size_t k) const

Protected Member Functions

virtual std::ostream & toStream (std::ostream &s) const

Deprecated



virtual SoDEPRECATED std::string getCellName (size_t i, size_t j, size_t k) const
virtual SoDEPRECATED std::string getNodeName (size_t i, size_t j, size_t k) const

Detailed Description

MeshViz List of volume cells interface.

A generic abstract interface for a structured implicit volume mesh topology. Cells are all implicitly defined as hexahedron so there is no need for specifying a list of cells. The number of cells on each dimension defines completely the topology.

See related examples:

MyVolumeMeshCurvilinear, MyVolumeMeshRectilinear, MyVolumeMeshRegular, MyVolumeMeshVertexHexahedronIjk


Member Function Documentation

virtual SoDEPRECATED std::string MiTopologyIjk::getCellName ( size_t  i,
size_t  j,
size_t  k 
) const [inline, virtual]

Returns the name of the cell.

The default implementation returns the cell identifier as a string.

Parameters:
i,j,k the index of the cell
Deprecated:

Deprecated since Open Inventor 9630
No alternate method but it is deprecated as it will be removed in next major version. It will be replaced by the new interface MiStringSet.
virtual SoDEPRECATED std::string MiTopologyIjk::getNodeName ( size_t  i,
size_t  j,
size_t  k 
) const [inline, virtual]

Returns the name of the node.

The default implementation returns the node identifier as a string.

Parameters:
i,j,k the index of the node
Deprecated:

Deprecated since Open Inventor 9630
No alternate method but it is deprecated as it will be removed in next major version. It will be replaced by the new interface MiStringSet.
virtual size_t MiTopologyIjk::getNumCellsI (  )  const [pure virtual]

Returns the number of cells on the first logical axis.

virtual size_t MiTopologyIjk::getNumCellsJ (  )  const [pure virtual]

Returns the number of cells on the second logical axis.

virtual size_t MiTopologyIjk::getNumCellsK (  )  const [pure virtual]

Returns the number of cells on the third logical axis.

virtual bool MiTopologyIjk::isDead ( size_t  i,
size_t  j,
size_t  k 
) const [inline, virtual]

Returns true if the cell of index (i,j,k) should be ignored.

This value is ignored if the hasDeadCell() method returns false. The default implementation returns always false.

Parameters:
(i,j,k) the index of the cell to check
virtual std::ostream& MiTopologyIjk::toStream ( std::ostream &  s  )  const [inline, protected, virtual]

Performs an output operation on a stream which is returned afterward. This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.

Reimplemented from MiTopology.


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/