VTK
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 NULL if it does not exist. More...
 
void InitTraversal ()
 Initialize iteration. More...
 
bool GetNextMidpoint (EdgeEndpoints &edge, vtkIdType &midpoint)
 Get the next midpoint in the iteration. More...
 

Protected Attributes

vtkInternalInternal
 

Detailed Description

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

Definition at line 349 of file vtkSLACReader.h.

Constructor & Destructor Documentation

vtkSLACReader::MidpointIdMap::MidpointIdMap ( )
vtkSLACReader::MidpointIdMap::~MidpointIdMap ( )

Member Function Documentation

void vtkSLACReader::MidpointIdMap::AddMidpoint ( const EdgeEndpoints edge,
vtkIdType  midpoint 
)
void vtkSLACReader::MidpointIdMap::RemoveMidpoint ( const EdgeEndpoints edge)
void vtkSLACReader::MidpointIdMap::RemoveAllMidpoints ( )
vtkIdType vtkSLACReader::MidpointIdMap::GetNumberOfMidpoints ( ) const
vtkIdType* vtkSLACReader::MidpointIdMap::FindMidpoint ( const EdgeEndpoints edge)

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

void vtkSLACReader::MidpointIdMap::InitTraversal ( )

Initialize iteration.

The iteration can occur in any order.

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

vtkInternal* vtkSLACReader::MidpointIdMap::Internal
protected

Definition at line 376 of file vtkSLACReader.h.


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