VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkGraphWeightEuclideanDistanceFilter Class Reference

Weights the edges of a graph based on the Euclidean distance between the points. More...

#include <vtkGraphWeightEuclideanDistanceFilter.h>

Inheritance diagram for vtkGraphWeightEuclideanDistanceFilter:
Inheritance graph
[legend]
Collaboration diagram for vtkGraphWeightEuclideanDistanceFilter:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkGraphWeightFilter Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGraphWeightEuclideanDistanceFilterNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)

Static Public Member Functions

static
vtkGraphWeightEuclideanDistanceFilter
New ()
static int IsTypeOf (const char *type)
static
vtkGraphWeightEuclideanDistanceFilter
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGraphWeightEuclideanDistanceFilter ()
 ~vtkGraphWeightEuclideanDistanceFilter ()
float ComputeWeight (vtkGraph *const graph, const vtkEdgeType &edge) const
bool CheckRequirements (vtkGraph *const graph) const

Detailed Description

Weights the edges of a graph based on the Euclidean distance between the points.

Weights the edges of a graph based on the Euclidean distance between the points.

Tests:
vtkGraphWeightEuclideanDistanceFilter (Tests)

Definition at line 34 of file vtkGraphWeightEuclideanDistanceFilter.h.


Member Typedef Documentation

Reimplemented from vtkGraphWeightFilter.

Definition at line 38 of file vtkGraphWeightEuclideanDistanceFilter.h.


Constructor & Destructor Documentation

Definition at line 42 of file vtkGraphWeightEuclideanDistanceFilter.h.

Definition at line 43 of file vtkGraphWeightEuclideanDistanceFilter.h.


Member Function Documentation

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkGraphAlgorithm.

static int vtkGraphWeightEuclideanDistanceFilter::IsTypeOf ( const char *  name) [static]

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphWeightFilter.

virtual int vtkGraphWeightEuclideanDistanceFilter::IsA ( const char *  name) [virtual]

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkGraphWeightFilter.

Reimplemented from vtkGraphWeightFilter.

Reimplemented from vtkGraphWeightFilter.

Reimplemented from vtkGraphWeightFilter.

void vtkGraphWeightEuclideanDistanceFilter::PrintSelf ( ostream &  os,
vtkIndent  indent 
) [virtual]

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkGraphWeightFilter.

float vtkGraphWeightEuclideanDistanceFilter::ComputeWeight ( vtkGraph *const  graph,
const vtkEdgeType edge 
) const [protected, virtual]

Compute the Euclidean distance between the Points defined for the verticies of a specified 'edge'.

Implements vtkGraphWeightFilter.

bool vtkGraphWeightEuclideanDistanceFilter::CheckRequirements ( vtkGraph *const  graph) const [protected, virtual]

Ensure that 'graph' has Points defined.

Reimplemented from vtkGraphWeightFilter.


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