Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
MiCellFilterIj Class Referenceabstract

MeshViz Interface class defining a cell filter for structured surface meshes. More...

#include <MeshVizXLM/mesh/cell/MiCellFilterIj.h>

+ Inheritance diagram for MiCellFilterIj:

Public Member Functions

virtual bool acceptCell (size_t i, size_t j) const =0
 Returns true if the cell is accepted.
 
- Public Member Functions inherited from MiCellFilter
virtual ~MiCellFilter ()
 
virtual size_t getTimeStamp () const =0
 Returns for this filter a unique time stamp across all filters in the application.
 

Detailed Description

MeshViz Interface class defining a cell filter for structured surface meshes.

This abstract class specifies the interface used for filtering cells on structured surface meshes.

Filtering cells is a way to specify which cells are used to build the mesh representation.

When the method acceptCell(i,j) returns false, the cell specified by (i,j) is not taken into account by the extraction. It is as if the mesh does not contain this cell.

In order to define a custom cell filter for a structured surface mesh, create a class derived from this class.

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 ALSO

MoCellFilter

Definition at line 55 of file MiCellFilterIj.h.

Member Function Documentation

◆ acceptCell()

virtual bool MiCellFilterIj::acceptCell ( size_t  i,
size_t  j 
) const
pure virtual

Returns true if the cell is accepted.

Accepted cells are used during the extraction process.

Parameters
(i,j)indices of the cell to be checked.

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