VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkvmtkVoronoiDiagram3D Class Reference

Compute the Voronoi diagram from a Delaunay tessellation or an internal Delaunay tessellation. More...

#include <vtkvmtkVoronoiDiagram3D.h>

Inheritance diagram for vtkvmtkVoronoiDiagram3D:
[legend]
Collaboration diagram for vtkvmtkVoronoiDiagram3D:
[legend]

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkVoronoiDiagram3DNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetRadiusArrayName (const char *)
 
virtual char * GetRadiusArrayName ()
 
virtual vtkIdList * GetPoleIds ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkVoronoiDiagram3DSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkVoronoiDiagram3DNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkVoronoiDiagram3D ()
 
 ~vtkvmtkVoronoiDiagram3D ()
 
int FillInputPortInformation (int, vtkInformation *info) VTK_OVERRIDE
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE
 
void ExtractUniqueEdges (vtkUnstructuredGrid *input, vtkCellArray *edgeArray)
 
void BuildVoronoiPolys (vtkUnstructuredGrid *input, vtkCellArray *voronoiPolys)
 
void BuildVoronoiLines ()
 

Protected Attributes

int BuildLines
 
vtkIdList * PoleIds
 
char * RadiusArrayName
 

Detailed Description

Compute the Voronoi diagram from a Delaunay tessellation or an internal Delaunay tessellation.

Date
2006/04/06 16:46:43
Revision
1.4

This class computes the Voronoi diagram of a set of points given their Delaunay tessellation. Basically, the output points are Delaunay tetrahedra circumcenters, and the cells are convex polygons constructed by connecting circumcenters of tetrahedra sharing a face. The radius of the circumsphere associated with each circumcenter is stored in a point data array with name specifed by RadiusArrayName. The id list of poles is also provided. Poles are the farthest inner and outer Voronoi points associated with a Delaunay point. Since this class is meant to deal with Delaunay tessellations which are internal to a given surface, only the internal pole is considered for each input point.

Definition at line 39 of file vtkvmtkVoronoiDiagram3D.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkvmtkVoronoiDiagram3D::Superclass

Definition at line 42 of file vtkvmtkVoronoiDiagram3D.h.

Constructor & Destructor Documentation

◆ vtkvmtkVoronoiDiagram3D()

vtkvmtkVoronoiDiagram3D::vtkvmtkVoronoiDiagram3D ( )
protected

◆ ~vtkvmtkVoronoiDiagram3D()

vtkvmtkVoronoiDiagram3D::~vtkvmtkVoronoiDiagram3D ( )
protected

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkVoronoiDiagram3D::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkVoronoiDiagram3D::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkVoronoiDiagram3D* vtkvmtkVoronoiDiagram3D::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkVoronoiDiagram3D::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkVoronoiDiagram3D* vtkvmtkVoronoiDiagram3D::NewInstance ( ) const

◆ PrintSelf()

void vtkvmtkVoronoiDiagram3D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkvmtkVoronoiDiagram3D* vtkvmtkVoronoiDiagram3D::New ( )
static

◆ SetRadiusArrayName()

virtual void vtkvmtkVoronoiDiagram3D::SetRadiusArrayName ( const char *  )
virtual

Set/Get the name of the point data array where circumsphere radius values are stored.

◆ GetRadiusArrayName()

virtual char* vtkvmtkVoronoiDiagram3D::GetRadiusArrayName ( )
virtual

Set/Get the name of the point data array where circumsphere radius values are stored.

◆ GetPoleIds()

virtual vtkIdList* vtkvmtkVoronoiDiagram3D::GetPoleIds ( )
virtual

Get the id list of poles. The id list has the same size as input points. For every input point, one Voronoi point id is stored in the list.

◆ FillInputPortInformation()

int vtkvmtkVoronoiDiagram3D::FillInputPortInformation ( int  ,
vtkInformation *  info 
)
protected

◆ RequestData()

virtual int vtkvmtkVoronoiDiagram3D::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ ExtractUniqueEdges()

void vtkvmtkVoronoiDiagram3D::ExtractUniqueEdges ( vtkUnstructuredGrid *  input,
vtkCellArray *  edgeArray 
)
protected

◆ BuildVoronoiPolys()

void vtkvmtkVoronoiDiagram3D::BuildVoronoiPolys ( vtkUnstructuredGrid *  input,
vtkCellArray *  voronoiPolys 
)
protected

◆ BuildVoronoiLines()

void vtkvmtkVoronoiDiagram3D::BuildVoronoiLines ( )
inlineprotected

Definition at line 75 of file vtkvmtkVoronoiDiagram3D.h.

75 {}; // not yet implemented

Member Data Documentation

◆ BuildLines

int vtkvmtkVoronoiDiagram3D::BuildLines
protected

Definition at line 75 of file vtkvmtkVoronoiDiagram3D.h.

◆ PoleIds

vtkIdList* vtkvmtkVoronoiDiagram3D::PoleIds
protected

Definition at line 78 of file vtkvmtkVoronoiDiagram3D.h.

◆ RadiusArrayName

char* vtkvmtkVoronoiDiagram3D::RadiusArrayName
protected

Definition at line 79 of file vtkvmtkVoronoiDiagram3D.h.


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