#include <vtkTreeLayoutView.h>
vtkTreeLayoutView displays a tree in radial or standard "top-down" format. You may specify the vertex labels and colors.
Definition at line 52 of file vtkTreeLayoutView.h.
vtkTreeLayoutView::vtkTreeLayoutView | ( | ) | [protected] |
vtkTreeLayoutView::~vtkTreeLayoutView | ( | ) | [protected] |
static vtkTreeLayoutView* vtkTreeLayoutView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRenderView.
virtual const char* vtkTreeLayoutView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderView.
static int vtkTreeLayoutView::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkRenderView.
virtual int vtkTreeLayoutView::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkRenderView.
static vtkTreeLayoutView* vtkTreeLayoutView::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderView.
void vtkTreeLayoutView::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 vtkRenderView.
void vtkTreeLayoutView::SetLabelArrayName | ( | const char * | name | ) |
The array to use for labeling. Default is "label".
const char* vtkTreeLayoutView::GetLabelArrayName | ( | ) |
The array to use for labeling. Default is "label".
void vtkTreeLayoutView::SetLabelVisibility | ( | bool | vis | ) |
Whether to show labels. Default is off.
bool vtkTreeLayoutView::GetLabelVisibility | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::LabelVisibilityOn | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::LabelVisibilityOff | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::SetVertexColorArrayName | ( | const char * | name | ) |
The array to use for coloring vertices. Default is "color".
const char* vtkTreeLayoutView::GetVertexColorArrayName | ( | ) |
The array to use for coloring vertices. Default is "color".
void vtkTreeLayoutView::SetColorVertices | ( | bool | vis | ) |
Whether to show labels. Default is off.
bool vtkTreeLayoutView::GetColorVertices | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::ColorVerticesOn | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::ColorVerticesOff | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::SetEdgeColorArrayName | ( | const char * | name | ) |
The array to use for coloring edges. Default is "color".
const char* vtkTreeLayoutView::GetEdgeColorArrayName | ( | ) |
The array to use for coloring edges. Default is "color".
void vtkTreeLayoutView::SetColorEdges | ( | bool | vis | ) |
Whether to show labels. Default is off.
bool vtkTreeLayoutView::GetColorEdges | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::ColorEdgesOn | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::ColorEdgesOff | ( | ) |
Whether to show labels. Default is off.
void vtkTreeLayoutView::SetAngle | ( | double | angle | ) |
The sweep angle of the tree. For a standard tree layout, this should be between 0 and 180. For a radial tree layout, this can be between 0 and 360.
double vtkTreeLayoutView::GetAngle | ( | ) |
The sweep angle of the tree. For a standard tree layout, this should be between 0 and 180. For a radial tree layout, this can be between 0 and 360.
void vtkTreeLayoutView::SetRadial | ( | bool | radial | ) |
If set, the tree is laid out with levels on concentric circles around the root. If unset (default), the tree is laid out with levels on horizontal lines.
bool vtkTreeLayoutView::GetRadial | ( | ) |
If set, the tree is laid out with levels on concentric circles around the root. If unset (default), the tree is laid out with levels on horizontal lines.
void vtkTreeLayoutView::RadialOn | ( | ) |
If set, the tree is laid out with levels on concentric circles around the root. If unset (default), the tree is laid out with levels on horizontal lines.
void vtkTreeLayoutView::RadialOff | ( | ) |
If set, the tree is laid out with levels on concentric circles around the root. If unset (default), the tree is laid out with levels on horizontal lines.
void vtkTreeLayoutView::SetLogSpacingValue | ( | double | value | ) |
The spacing of tree levels. Levels near zero give more space to levels near the root, while levels near one (the default) create evenly-spaced levels.
double vtkTreeLayoutView::GetLogSpacingValue | ( | ) |
The spacing of tree levels. Levels near zero give more space to levels near the root, while levels near one (the default) create evenly-spaced levels.
void vtkTreeLayoutView::SetLeafSpacing | ( | double | value | ) |
The spacing of leaves. Levels near one evenly space leaves with no gaps between subtrees. Levels near zero creates large gaps between subtrees.
double vtkTreeLayoutView::GetLeafSpacing | ( | ) |
The spacing of leaves. Levels near one evenly space leaves with no gaps between subtrees. Levels near zero creates large gaps between subtrees.
const char* vtkTreeLayoutView::GetDistanceArrayName | ( | ) |
Get/Set the array to use to determine the distance from the root.
void vtkTreeLayoutView::SetDistanceArrayName | ( | const char * | name | ) |
Get/Set the array to use to determine the distance from the root.
virtual void vtkTreeLayoutView::SetupRenderWindow | ( | vtkRenderWindow * | win | ) | [virtual] |
Sets up interactor style.
Reimplemented from vtkRenderView.
virtual void vtkTreeLayoutView::ApplyViewTheme | ( | vtkViewTheme * | theme | ) | [virtual] |
Apply the theme to this view.
Reimplemented from vtkRenderView.
virtual void vtkTreeLayoutView::ProcessEvents | ( | vtkObject * | caller, | |
unsigned long | eventId, | |||
void * | callData | |||
) | [protected, virtual] |
Called to process the user event from the interactor style.
Reimplemented from vtkRenderView.
virtual void vtkTreeLayoutView::AddInputConnection | ( | int | port, | |
int | item, | |||
vtkAlgorithmOutput * | conn, | |||
vtkAlgorithmOutput * | selectionConn | |||
) | [protected, virtual] |
Connects the algorithm output to the internal pipeline. This view only supports a single representation.
virtual void vtkTreeLayoutView::RemoveInputConnection | ( | int | port, | |
int | item, | |||
vtkAlgorithmOutput * | conn, | |||
vtkAlgorithmOutput * | selectionConn | |||
) | [protected, virtual] |
Removes the algorithm output from the internal pipeline.
virtual void vtkTreeLayoutView::PrepareForRendering | ( | ) | [protected, virtual] |
Prepares the view for rendering.
Reimplemented from vtkRenderView.
void vtkTreeLayoutView::MapToXYPlane | ( | double | displayX, | |
double | displayY, | |||
double & | x, | |||
double & | y | |||
) | [protected] |
May a display coordinate to a world coordinate on the x-y plane.
virtual char* vtkTreeLayoutView::GetVertexColorArrayNameInternal | ( | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual void vtkTreeLayoutView::SetVertexColorArrayNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual char* vtkTreeLayoutView::GetEdgeColorArrayNameInternal | ( | ) | [protected, virtual] |
Used to store the vertex and edge color array names
virtual void vtkTreeLayoutView::SetEdgeColorArrayNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the vertex and edge color array names
char* vtkTreeLayoutView::VertexColorArrayNameInternal [protected] |
Definition at line 183 of file vtkTreeLayoutView.h.
char* vtkTreeLayoutView::EdgeColorArrayNameInternal [protected] |
Definition at line 187 of file vtkTreeLayoutView.h.
vtkCoordinate* vtkTreeLayoutView::Coordinate [protected] |
Definition at line 190 of file vtkTreeLayoutView.h.
vtkGraphLayout* vtkTreeLayoutView::GraphLayout [protected] |
Definition at line 193 of file vtkTreeLayoutView.h.
vtkTreeLayoutStrategy* vtkTreeLayoutView::TreeStrategy [protected] |
Definition at line 194 of file vtkTreeLayoutView.h.
vtkGraphToPolyData* vtkTreeLayoutView::GraphToPolyData [protected] |
Definition at line 195 of file vtkTreeLayoutView.h.
vtkVertexGlyphFilter* vtkTreeLayoutView::VertexGlyph [protected] |
Definition at line 196 of file vtkTreeLayoutView.h.
vtkPolyDataMapper* vtkTreeLayoutView::VertexMapper [protected] |
Definition at line 197 of file vtkTreeLayoutView.h.
vtkLookupTable* vtkTreeLayoutView::VertexColorLUT [protected] |
Definition at line 198 of file vtkTreeLayoutView.h.
vtkActor* vtkTreeLayoutView::VertexActor [protected] |
Definition at line 199 of file vtkTreeLayoutView.h.
vtkPolyDataMapper* vtkTreeLayoutView::OutlineMapper [protected] |
Definition at line 200 of file vtkTreeLayoutView.h.
vtkActor* vtkTreeLayoutView::OutlineActor [protected] |
Definition at line 201 of file vtkTreeLayoutView.h.
vtkPolyDataMapper* vtkTreeLayoutView::EdgeMapper [protected] |
Definition at line 202 of file vtkTreeLayoutView.h.
vtkLookupTable* vtkTreeLayoutView::EdgeColorLUT [protected] |
Definition at line 203 of file vtkTreeLayoutView.h.
vtkActor* vtkTreeLayoutView::EdgeActor [protected] |
Definition at line 204 of file vtkTreeLayoutView.h.
vtkDynamic2DLabelMapper* vtkTreeLayoutView::LabelMapper [protected] |
Definition at line 205 of file vtkTreeLayoutView.h.
vtkActor2D* vtkTreeLayoutView::LabelActor [protected] |
Definition at line 206 of file vtkTreeLayoutView.h.
vtkKdTreeSelector* vtkTreeLayoutView::KdTreeSelector [protected] |
Definition at line 209 of file vtkTreeLayoutView.h.
vtkHardwareSelector* vtkTreeLayoutView::HardwareSelector [protected] |
Definition at line 210 of file vtkTreeLayoutView.h.
Definition at line 211 of file vtkTreeLayoutView.h.
vtkGraphToPolyData* vtkTreeLayoutView::SelectionToPolyData [protected] |
Definition at line 212 of file vtkTreeLayoutView.h.
Definition at line 213 of file vtkTreeLayoutView.h.
Definition at line 214 of file vtkTreeLayoutView.h.
vtkActor* vtkTreeLayoutView::SelectionVertexActor [protected] |
Definition at line 215 of file vtkTreeLayoutView.h.
vtkPolyDataMapper* vtkTreeLayoutView::SelectionEdgeMapper [protected] |
Definition at line 216 of file vtkTreeLayoutView.h.
vtkActor* vtkTreeLayoutView::SelectionEdgeActor [protected] |
Definition at line 217 of file vtkTreeLayoutView.h.