VTK
Public Member Functions | Protected Attributes
vtkSLACReader::MidpointIdMap Class Reference

#include <vtkSLACReader.h>

List of all members.

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)
void InitTraversal ()
bool GetNextMidpoint (EdgeEndpoints &edge, vtkIdType &midpoint)

Protected Attributes

vtkInternalInternal

Detailed Description

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

Definition at line 319 of file vtkSLACReader.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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

Initialize iteration. The iteration can occur in any order.

Get the next midpoint in the iteration. Return 0 if the end is reached.


Member Data Documentation

Definition at line 342 of file vtkSLACReader.h.


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