MiTopologyI Class Reference
[Topology]

MeshViz List of cells interface. More...

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

Inheritance diagram for MiTopologyI:
MiTopology MeXTopologyI MiTopologyExplicitI MeXTopologyExplicitI MiLineTopologyExplicitI MiSurfaceTopologyExplicitI MiVolumeTopologyExplicitI MeXLineTopologyExplicitI MeXSurfaceTopologyExplicitI MeXVolumeTopologyExplicitI MeXLineTopologyExplicitI MeXSurfaceTopologyExplicitI MeXVolumeTopologyExplicitI MeWLineTopologyExplicitI MeWSurfaceTopologyExplicitI MeWVolumeTopologyExplicitI MeWLineTopologyExplicitI MeWSurfaceTopologyExplicitI MeWVolumeTopologyExplicitI

List of all members.

Public Member Functions

virtual size_t getNumCells () const =0
virtual bool isDead (size_t i) const

Detailed Description

MeshViz List of cells interface.

A generic abstract interface for an implicit mesh topology.

The implementation of all the methods of this class must be thread-safe because it might be called concurrently by multiple threads. If the implementation can't be thread-safe, MeshViz XLM must be forced to use only 1 thread. It can be done by calling MiMeshViz::init(1) or MoMeshViz::init(1) or setting the parallel argument to false for each extractor instantiation. For instance by calling MiSkinExtractUnstructured::getNewInstance(&mesh, false);

See related examples:

MyLineMeshCurvilinear, MyLineMeshRegular


Member Function Documentation

virtual size_t MiTopologyI::getNumCells (  )  const [pure virtual]

Returns the number of cells.

virtual bool MiTopologyI::isDead ( size_t  i  )  const [inline, virtual]

Returns true if the cell of index i should be ignored.

This value is ignored if the hasDeadCell() method returns false. The default implementation returns always false. The implementation of this method must be thread-safe because it might be called concurrently by multiple threads.

Parameters:
i the index of the cell to check

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

Open Inventor Toolkit reference manual, generated on 4 Sep 2023
Copyright © Thermo Fisher Scientific All rights reserved.
https://www.openinventor.com/