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

vtkInternal * Internal

Detailed Description

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

Definition at line 305 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 328 of file vtkSLACReader.h.


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