VTK
|
expands a selection set of a vtkGraph More...
#include <vtkExpandSelectedGraph.h>
expands a selection set of a vtkGraph
The first input is a vtkSelection containing the selected vertices. The second input is a vtkGraph. This filter 'grows' the selection set in one of the following ways 1) SetBFSDistance controls how many 'hops' the selection is grown from each seed point in the selection set (defaults to 1) 2) IncludeShortestPaths controls whether this filter tries to 'connect' the vertices in the selection set by computing the shortest path between the vertices (if such a path exists) Note: IncludeShortestPaths is currently non-functional
Definition at line 48 of file vtkExpandSelectedGraph.h.
Reimplemented from vtkSelectionAlgorithm.
Definition at line 52 of file vtkExpandSelectedGraph.h.
vtkExpandSelectedGraph::vtkExpandSelectedGraph | ( | ) | [protected] |
vtkExpandSelectedGraph::~vtkExpandSelectedGraph | ( | ) | [protected] |
static vtkExpandSelectedGraph* vtkExpandSelectedGraph::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkSelectionAlgorithm.
static int vtkExpandSelectedGraph::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 vtkSelectionAlgorithm.
virtual int vtkExpandSelectedGraph::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 vtkSelectionAlgorithm.
static vtkExpandSelectedGraph* vtkExpandSelectedGraph::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkSelectionAlgorithm.
virtual vtkObjectBase* vtkExpandSelectedGraph::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkSelectionAlgorithm.
Reimplemented from vtkSelectionAlgorithm.
void vtkExpandSelectedGraph::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 vtkSelectionAlgorithm.
A convenience method for setting the second input (i.e. the graph).
int vtkExpandSelectedGraph::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [virtual] |
Specify the first vtkSelection input and the second vtkGraph input.
Reimplemented from vtkSelectionAlgorithm.
virtual void vtkExpandSelectedGraph::SetBFSDistance | ( | int | ) | [virtual] |
Set/Get BFSDistance which controls how many 'hops' the selection is grown from each seed point in the selection set (defaults to 1)
virtual int vtkExpandSelectedGraph::GetBFSDistance | ( | ) | [virtual] |
Set/Get BFSDistance which controls how many 'hops' the selection is grown from each seed point in the selection set (defaults to 1)
virtual void vtkExpandSelectedGraph::SetIncludeShortestPaths | ( | bool | ) | [virtual] |
Set/Get IncludeShortestPaths controls whether this filter tries to 'connect' the vertices in the selection set by computing the shortest path between the vertices (if such a path exists) Note: IncludeShortestPaths is currently non-functional
virtual bool vtkExpandSelectedGraph::GetIncludeShortestPaths | ( | ) | [virtual] |
Set/Get IncludeShortestPaths controls whether this filter tries to 'connect' the vertices in the selection set by computing the shortest path between the vertices (if such a path exists) Note: IncludeShortestPaths is currently non-functional
virtual void vtkExpandSelectedGraph::IncludeShortestPathsOn | ( | ) | [virtual] |
Set/Get IncludeShortestPaths controls whether this filter tries to 'connect' the vertices in the selection set by computing the shortest path between the vertices (if such a path exists) Note: IncludeShortestPaths is currently non-functional
virtual void vtkExpandSelectedGraph::IncludeShortestPathsOff | ( | ) | [virtual] |
Set/Get IncludeShortestPaths controls whether this filter tries to 'connect' the vertices in the selection set by computing the shortest path between the vertices (if such a path exists) Note: IncludeShortestPaths is currently non-functional
virtual void vtkExpandSelectedGraph::SetDomain | ( | const char * | ) | [virtual] |
Set/Get the vertex domain to use in the expansion.
virtual char* vtkExpandSelectedGraph::GetDomain | ( | ) | [virtual] |
Set/Get the vertex domain to use in the expansion.
virtual void vtkExpandSelectedGraph::SetUseDomain | ( | bool | ) | [virtual] |
Whether or not to use the domain when deciding to add a vertex to the expansion. Defaults to false.
virtual bool vtkExpandSelectedGraph::GetUseDomain | ( | ) | [virtual] |
Whether or not to use the domain when deciding to add a vertex to the expansion. Defaults to false.
virtual void vtkExpandSelectedGraph::UseDomainOn | ( | ) | [virtual] |
Whether or not to use the domain when deciding to add a vertex to the expansion. Defaults to false.
virtual void vtkExpandSelectedGraph::UseDomainOff | ( | ) | [virtual] |
Whether or not to use the domain when deciding to add a vertex to the expansion. Defaults to false.
int vtkExpandSelectedGraph::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkSelectionAlgorithm.
void vtkExpandSelectedGraph::Expand | ( | vtkIdTypeArray * | , |
vtkGraph * | |||
) | [protected] |
int vtkExpandSelectedGraph::BFSDistance [protected] |
Definition at line 103 of file vtkExpandSelectedGraph.h.
bool vtkExpandSelectedGraph::IncludeShortestPaths [protected] |
Definition at line 104 of file vtkExpandSelectedGraph.h.
char* vtkExpandSelectedGraph::Domain [protected] |
Definition at line 105 of file vtkExpandSelectedGraph.h.
bool vtkExpandSelectedGraph::UseDomain [protected] |
Definition at line 106 of file vtkExpandSelectedGraph.h.