VTK  9.5.20250811
Enumerations | Functions
vtkCellStatus.h File Reference
#include "vtkCommonDataModelModule.h"
#include <ostream>
Include dependency graph for vtkCellStatus.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  vtkCellStatus : short {
  Valid = 0x00 , WrongNumberOfPoints = 0x01 , IntersectingEdges = 0x02 , IntersectingFaces = 0x04 ,
  NoncontiguousEdges = 0x08 , Nonconvex = 0x10 , FacesAreOrientedIncorrectly = 0x20 , NonPlanarFaces = 0x40 ,
  DegenerateFaces = 0x80
}
 Diagnostic values indicating how well-specified a cell is. More...
 

Functions

bool operator!= (short a, vtkCellStatus b)
 
bool operator== (short a, vtkCellStatus b)
 
bool operator!= (vtkCellStatus a, short b)
 
bool operator== (vtkCellStatus a, short b)
 
vtkCellStatus operator& (vtkCellStatus a, vtkCellStatus b)
 
vtkCellStatus operator| (vtkCellStatus a, vtkCellStatus b)
 
vtkCellStatusoperator&= (vtkCellStatus &a, vtkCellStatus b)
 
vtkCellStatusoperator|= (vtkCellStatus &a, vtkCellStatus b)
 
bool operator! (const vtkCellStatus &s)
 
std::ostream & operator<< (std::ostream &os, vtkCellStatus state)
 

Enumeration Type Documentation

◆ vtkCellStatus

enum class vtkCellStatus : short
strong

Diagnostic values indicating how well-specified a cell is.

Bitwise combinations of these values are returned by methods of vtkPolygon, vtkPolyhedron, and vtkCellValidator.

Enumerator
Valid 

Cell is in a good state.

WrongNumberOfPoints 

Lines have <2 points, faces <3.

IntersectingEdges 

Edges of a face self-intersect.

IntersectingFaces 

Faces of a volume self-intersect.

NoncontiguousEdges 

Edge vertices are not ordered head-to-tail.

Nonconvex 

The cell has a concavity.

FacesAreOrientedIncorrectly 

All faces should have CCW windings.

NonPlanarFaces 

Vertices for a face do not all lie in the same plane.

DegenerateFaces 

A face is collapsed to a line or a point.

Definition at line 16 of file vtkCellStatus.h.

Function Documentation

◆ operator!=() [1/2]

bool operator!= ( short  a,
vtkCellStatus  b 
)
inline

Definition at line 29 of file vtkCellStatus.h.

◆ operator==() [1/2]

bool operator== ( short  a,
vtkCellStatus  b 
)
inline

Definition at line 34 of file vtkCellStatus.h.

◆ operator!=() [2/2]

bool operator!= ( vtkCellStatus  a,
short  b 
)
inline

Definition at line 39 of file vtkCellStatus.h.

◆ operator==() [2/2]

bool operator== ( vtkCellStatus  a,
short  b 
)
inline

Definition at line 44 of file vtkCellStatus.h.

◆ operator&()

vtkCellStatus operator& ( vtkCellStatus  a,
vtkCellStatus  b 
)
inline

Definition at line 49 of file vtkCellStatus.h.

◆ operator|()

vtkCellStatus operator| ( vtkCellStatus  a,
vtkCellStatus  b 
)
inline

Definition at line 54 of file vtkCellStatus.h.

◆ operator&=()

vtkCellStatus & operator&= ( vtkCellStatus a,
vtkCellStatus  b 
)
inline

Definition at line 59 of file vtkCellStatus.h.

◆ operator|=()

vtkCellStatus & operator|= ( vtkCellStatus a,
vtkCellStatus  b 
)
inline

Definition at line 65 of file vtkCellStatus.h.

◆ operator!()

bool operator! ( const vtkCellStatus s)
inline

Definition at line 71 of file vtkCellStatus.h.

◆ operator<<()

std::ostream & operator<< ( std::ostream &  os,
vtkCellStatus  state 
)
inline

Definition at line 76 of file vtkCellStatus.h.