VTK
|
Weights the edges of a graph based on the Euclidean distance between the points. More...
#include <vtkGraphWeightEuclideanDistanceFilter.h>
Public Types | |
typedef vtkGraphWeightFilter | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGraphWeightEuclideanDistanceFilter * | NewInstance () 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 vtkObjectBase * | NewInstanceInternal () const |
vtkGraphWeightEuclideanDistanceFilter () | |
~vtkGraphWeightEuclideanDistanceFilter () | |
float | ComputeWeight (vtkGraph *const graph, const vtkEdgeType &edge) const |
bool | CheckRequirements (vtkGraph *const graph) const |
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.
Definition at line 34 of file vtkGraphWeightEuclideanDistanceFilter.h.
Reimplemented from vtkGraphWeightFilter.
Definition at line 38 of file vtkGraphWeightEuclideanDistanceFilter.h.
vtkGraphWeightEuclideanDistanceFilter::vtkGraphWeightEuclideanDistanceFilter | ( | ) | [inline, protected] |
Definition at line 42 of file vtkGraphWeightEuclideanDistanceFilter.h.
vtkGraphWeightEuclideanDistanceFilter::~vtkGraphWeightEuclideanDistanceFilter | ( | ) | [inline, protected] |
Definition at line 43 of file vtkGraphWeightEuclideanDistanceFilter.h.
static vtkGraphWeightEuclideanDistanceFilter* vtkGraphWeightEuclideanDistanceFilter::New | ( | ) | [static] |
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.
static vtkGraphWeightEuclideanDistanceFilter* vtkGraphWeightEuclideanDistanceFilter::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkGraphWeightFilter.
virtual vtkObjectBase* vtkGraphWeightEuclideanDistanceFilter::NewInstanceInternal | ( | ) | const [protected, virtual] |
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.