expands a selection set of a vtkGraph
More...
#include <vtkExpandSelectedGraph.h>
Inherits vtkSelectionAlgorithm.
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
- Examples:
- vtkExpandSelectedGraph (Examples)
Definition at line 48 of file vtkExpandSelectedGraph.h.
vtkExpandSelectedGraph::vtkExpandSelectedGraph |
( |
| ) |
|
|
protected |
vtkExpandSelectedGraph::~vtkExpandSelectedGraph |
( |
| ) |
|
|
protected |
static int vtkExpandSelectedGraph::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkExpandSelectedGraph::IsA |
( |
const char * |
type | ) |
|
|
virtual |
virtual vtkObjectBase* vtkExpandSelectedGraph::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
void vtkExpandSelectedGraph::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
void vtkExpandSelectedGraph::SetGraphConnection |
( |
vtkAlgorithmOutput * |
in | ) |
|
A convenience method for setting the second input (i.e. the graph).
int vtkExpandSelectedGraph::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
Specify the first vtkSelection input and the second vtkGraph input.
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 * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protected |
void vtkExpandSelectedGraph::Expand |
( |
vtkIdTypeArray * |
, |
|
|
vtkGraph * |
|
|
) |
| |
|
protected |
int vtkExpandSelectedGraph::BFSDistance |
|
protected |
bool vtkExpandSelectedGraph::IncludeShortestPaths |
|
protected |
char* vtkExpandSelectedGraph::Domain |
|
protected |
bool vtkExpandSelectedGraph::UseDomain |
|
protected |
The documentation for this class was generated from the following file: