VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkExpandSelectedGraph Class Reference

expands a selection set of a vtkGraph More...

#include <vtkExpandSelectedGraph.h>

Inherits vtkSelectionAlgorithm.

Public Types

typedef vtkSelectionAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkExpandSelectedGraphNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent)
 
void SetGraphConnection (vtkAlgorithmOutput *in)
 
int FillInputPortInformation (int port, vtkInformation *info)
 
virtual void SetBFSDistance (int)
 
virtual int GetBFSDistance ()
 
virtual void SetIncludeShortestPaths (bool)
 
virtual bool GetIncludeShortestPaths ()
 
virtual void IncludeShortestPathsOn ()
 
virtual void IncludeShortestPathsOff ()
 
virtual void SetDomain (const char *)
 
virtual char * GetDomain ()
 
virtual void SetUseDomain (bool)
 
virtual bool GetUseDomain ()
 
virtual void UseDomainOn ()
 
virtual void UseDomainOff ()
 

Static Public Member Functions

static vtkExpandSelectedGraphNew ()
 
static int IsTypeOf (const char *type)
 
static vtkExpandSelectedGraphSafeDownCast (vtkObjectBase *o)
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkExpandSelectedGraph ()
 
 ~vtkExpandSelectedGraph ()
 
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
 
void Expand (vtkIdTypeArray *, vtkGraph *)
 

Protected Attributes

int BFSDistance
 
bool IncludeShortestPaths
 
char * Domain
 
bool UseDomain
 

Detailed Description

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.

Member Typedef Documentation

typedef vtkSelectionAlgorithm vtkExpandSelectedGraph::Superclass

Definition at line 52 of file vtkExpandSelectedGraph.h.

Constructor & Destructor Documentation

vtkExpandSelectedGraph::vtkExpandSelectedGraph ( )
protected
vtkExpandSelectedGraph::~vtkExpandSelectedGraph ( )
protected

Member Function Documentation

static vtkExpandSelectedGraph* vtkExpandSelectedGraph::New ( )
static
static int vtkExpandSelectedGraph::IsTypeOf ( const char *  type)
static
virtual int vtkExpandSelectedGraph::IsA ( const char *  type)
virtual
static vtkExpandSelectedGraph* vtkExpandSelectedGraph::SafeDownCast ( vtkObjectBase *  o)
static
virtual vtkObjectBase* vtkExpandSelectedGraph::NewInstanceInternal ( ) const
protectedvirtual
vtkExpandSelectedGraph* vtkExpandSelectedGraph::NewInstance ( ) const
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

Member Data Documentation

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.


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