VTK  9.4.20241124
Public Member Functions | Protected Attributes | List of all members
vtkSLACReader::MidpointIdMap Class Reference

Manages a map from edges to the point id of the midpoint. More...

#include <vtkSLACReader.h>

Public Member Functions

 MidpointIdMap ()
 
 ~MidpointIdMap ()
 
void AddMidpoint (const EdgeEndpoints &edge, vtkIdType midpoint)
 
void RemoveMidpoint (const EdgeEndpoints &edge)
 
void RemoveAllMidpoints ()
 
vtkIdType GetNumberOfMidpoints () const
 
vtkIdTypeFindMidpoint (const EdgeEndpoints &edge)
 Finds the id for the given edge or returns nullptr if it does not exist.
 
void InitTraversal ()
 Initialize iteration.
 
bool GetNextMidpoint (EdgeEndpoints &edge, vtkIdType &midpoint)
 Get the next midpoint in the iteration.
 

Protected Attributes

vtkInternalInternal
 

Detailed Description

Manages a map from edges to the point id of the midpoint.

Definition at line 341 of file vtkSLACReader.h.

Constructor & Destructor Documentation

◆ MidpointIdMap()

vtkSLACReader::MidpointIdMap::MidpointIdMap ( )

◆ ~MidpointIdMap()

vtkSLACReader::MidpointIdMap::~MidpointIdMap ( )

Member Function Documentation

◆ AddMidpoint()

void vtkSLACReader::MidpointIdMap::AddMidpoint ( const EdgeEndpoints edge,
vtkIdType  midpoint 
)

◆ RemoveMidpoint()

void vtkSLACReader::MidpointIdMap::RemoveMidpoint ( const EdgeEndpoints edge)

◆ RemoveAllMidpoints()

void vtkSLACReader::MidpointIdMap::RemoveAllMidpoints ( )

◆ GetNumberOfMidpoints()

vtkIdType vtkSLACReader::MidpointIdMap::GetNumberOfMidpoints ( ) const

◆ FindMidpoint()

vtkIdType * vtkSLACReader::MidpointIdMap::FindMidpoint ( const EdgeEndpoints edge)

Finds the id for the given edge or returns nullptr if it does not exist.

◆ InitTraversal()

void vtkSLACReader::MidpointIdMap::InitTraversal ( )

Initialize iteration.

The iteration can occur in any order.

◆ GetNextMidpoint()

bool vtkSLACReader::MidpointIdMap::GetNextMidpoint ( EdgeEndpoints edge,
vtkIdType midpoint 
)

Get the next midpoint in the iteration.

Return 0 if the end is reached.

Member Data Documentation

◆ Internal

vtkInternal* vtkSLACReader::MidpointIdMap::Internal
protected

Definition at line 369 of file vtkSLACReader.h.


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