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

#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)
 
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

§ 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 NULL 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 342 of file vtkSLACReader.h.


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