vtkGraphMapper Class Reference

#include <vtkGraphMapper.h>

Inheritance diagram for vtkGraphMapper:

Inheritance graph
[legend]
Collaboration diagram for vtkGraphMapper:

Collaboration graph
[legend]

List of all members.


Detailed Description

map vtkGraph and derived classes to graphics primitives

vtkGraphMapper is a mapper to map vtkGraph (and all derived classes) to graphics primitives.

Tests:
vtkGraphMapper (Tests)

Definition at line 60 of file vtkGraphMapper.h.

char * VertexColorArrayNameInternal
char * EdgeColorArrayNameInternal
virtual char * GetVertexColorArrayNameInternal ()
virtual void SetVertexColorArrayNameInternal (const char *)
virtual char * GetEdgeColorArrayNameInternal ()
virtual void SetEdgeColorArrayNameInternal (const char *)

Public Types

typedef vtkMapper Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren, vtkActor *act)
void AddIconType (char *type, int index)
void ClearIconTypes ()
void SetIconAlignment (int alignment)
virtual void ApplyViewTheme (vtkViewTheme *theme)
void ReleaseGraphicsResources (vtkWindow *)
unsigned long GetMTime ()
void SetVertexColorArrayName (const char *name)
const char * GetVertexColorArrayName ()
void SetColorVertices (bool vis)
bool GetColorVertices ()
void ColorVerticesOn ()
void ColorVerticesOff ()
void SetScaledGlyphs (bool arg)
virtual bool GetScaledGlyphs ()
virtual void ScaledGlyphsOn ()
virtual void ScaledGlyphsOff ()
virtual void SetScalingArrayName (const char *)
virtual char * GetScalingArrayName ()
void SetEdgeVisibility (bool vis)
bool GetEdgeVisibility ()
virtual void EdgeVisibilityOn ()
virtual void EdgeVisibilityOff ()
void SetEdgeColorArrayName (const char *name)
const char * GetEdgeColorArrayName ()
void SetColorEdges (bool vis)
bool GetColorEdges ()
void ColorEdgesOn ()
void ColorEdgesOff ()
virtual void SetEnabledEdgesArrayName (const char *)
virtual char * GetEnabledEdgesArrayName ()
virtual void SetEnableEdgesByArray (int)
virtual int GetEnableEdgesByArray ()
virtual void EnableEdgesByArrayOn ()
virtual void EnableEdgesByArrayOff ()
virtual void SetEnabledVerticesArrayName (const char *)
virtual char * GetEnabledVerticesArrayName ()
virtual void SetEnableVerticesByArray (int)
virtual int GetEnableVerticesByArray ()
virtual void EnableVerticesByArrayOn ()
virtual void EnableVerticesByArrayOff ()
void SetIconArrayName (const char *name)
const char * GetIconArrayName ()
void SetIconSize (int *size)
int * GetIconSize ()
vtkTextureGetIconTexture ()
void SetIconTexture (vtkTexture *texture)
void SetIconVisibility (bool vis)
bool GetIconVisibility ()
virtual void IconVisibilityOn ()
virtual void IconVisibilityOff ()
virtual float GetVertexPointSize ()
void SetVertexPointSize (float size)
virtual float GetEdgeLineWidth ()
void SetEdgeLineWidth (float width)
void SetInput (vtkGraph *input)
vtkGraphGetInput ()
virtual double * GetBounds ()
virtual void GetBounds (double *bounds)
virtual vtkLookupTableGetEdgeLookupTable ()
virtual vtkLookupTableGetVertexLookupTable ()

Static Public Member Functions

static vtkGraphMapperNew ()
static int IsTypeOf (const char *type)
static vtkGraphMapperSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGraphMapper ()
 ~vtkGraphMapper ()
virtual char * GetIconArrayNameInternal ()
virtual void SetIconArrayNameInternal (const char *)
virtual void ReportReferences (vtkGarbageCollector *)
virtual int FillInputPortInformation (int port, vtkInformation *info)

Protected Attributes

char * EnabledEdgesArrayName
char * EnabledVerticesArrayName
int EnableEdgesByArray
int EnableVerticesByArray
char * IconArrayNameInternal
vtkSmartPointer< vtkGlyph3DCircleGlyph
vtkSmartPointer< vtkGlyph3DCircleOutlineGlyph
vtkSmartPointer
< vtkGraphToPolyData
GraphToPoly
vtkSmartPointer
< vtkVertexGlyphFilter
VertexGlyph
vtkSmartPointer
< vtkIconGlyphFilter
IconGlyph
vtkSmartPointer< vtkArrayMapIconTypeToIndex
vtkSmartPointer
< vtkTransformCoordinateSystems
IconTransform
vtkSmartPointer
< vtkPolyDataMapper
EdgeMapper
vtkSmartPointer
< vtkPolyDataMapper
VertexMapper
vtkSmartPointer
< vtkPolyDataMapper
OutlineMapper
vtkSmartPointer
< vtkPolyDataMapper2D
IconMapper
vtkSmartPointer< vtkActorEdgeActor
vtkSmartPointer< vtkActorVertexActor
vtkSmartPointer< vtkActorOutlineActor
vtkSmartPointer
< vtkTexturedActor2D
IconActor
vtkLookupTableEdgeLookupTable
vtkLookupTableVertexLookupTable

Member Typedef Documentation

Reimplemented from vtkMapper.

Definition at line 64 of file vtkGraphMapper.h.


Constructor & Destructor Documentation

vtkGraphMapper::vtkGraphMapper (  )  [protected]

vtkGraphMapper::~vtkGraphMapper (  )  [protected]


Member Function Documentation

static vtkGraphMapper* vtkGraphMapper::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

virtual const char* vtkGraphMapper::GetClassName (  )  [virtual]

Reimplemented from vtkMapper.

static int vtkGraphMapper::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 vtkMapper.

virtual int vtkGraphMapper::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 vtkMapper.

static vtkGraphMapper* vtkGraphMapper::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkMapper.

void vtkGraphMapper::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 vtkMapper.

void vtkGraphMapper::Render ( vtkRenderer ren,
vtkActor a 
) [virtual]

Method initiates the mapping process. Generally sent by the actor as each frame is rendered.

Implements vtkMapper.

void vtkGraphMapper::SetVertexColorArrayName ( const char *  name  ) 

The array to use for coloring vertices. Default is "color".

const char* vtkGraphMapper::GetVertexColorArrayName (  ) 

The array to use for coloring vertices. Default is "color".

void vtkGraphMapper::SetColorVertices ( bool  vis  ) 

Whether to color vertices. Default is off.

bool vtkGraphMapper::GetColorVertices (  ) 

Whether to color vertices. Default is off.

void vtkGraphMapper::ColorVerticesOn (  ) 

Whether to color vertices. Default is off.

void vtkGraphMapper::ColorVerticesOff (  ) 

Whether to color vertices. Default is off.

void vtkGraphMapper::SetScaledGlyphs ( bool  arg  ) 

Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.

virtual bool vtkGraphMapper::GetScaledGlyphs (  )  [virtual]

Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.

virtual void vtkGraphMapper::ScaledGlyphsOn (  )  [virtual]

Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.

virtual void vtkGraphMapper::ScaledGlyphsOff (  )  [virtual]

Whether scaled glyphs are on or not. Default is off. By default this mapper uses vertex glyphs that do not scale. If you turn this option on you will get circles at each vertex and they will scale as you zoom in/out.

virtual void vtkGraphMapper::SetScalingArrayName ( const char *   )  [virtual]

Glyph scaling array name. Default is "scale"

virtual char* vtkGraphMapper::GetScalingArrayName (  )  [virtual]

Glyph scaling array name. Default is "scale"

void vtkGraphMapper::SetEdgeVisibility ( bool  vis  ) 

Whether to show edges or not. Default is on.

bool vtkGraphMapper::GetEdgeVisibility (  ) 

Whether to show edges or not. Default is on.

virtual void vtkGraphMapper::EdgeVisibilityOn (  )  [virtual]

Whether to show edges or not. Default is on.

virtual void vtkGraphMapper::EdgeVisibilityOff (  )  [virtual]

Whether to show edges or not. Default is on.

void vtkGraphMapper::SetEdgeColorArrayName ( const char *  name  ) 

The array to use for coloring edges. Default is "color".

const char* vtkGraphMapper::GetEdgeColorArrayName (  ) 

The array to use for coloring edges. Default is "color".

void vtkGraphMapper::SetColorEdges ( bool  vis  ) 

Whether to color edges. Default is off.

bool vtkGraphMapper::GetColorEdges (  ) 

Whether to color edges. Default is off.

void vtkGraphMapper::ColorEdgesOn (  ) 

Whether to color edges. Default is off.

void vtkGraphMapper::ColorEdgesOff (  ) 

Whether to color edges. Default is off.

virtual void vtkGraphMapper::SetEnabledEdgesArrayName ( const char *   )  [virtual]

The array to use for coloring edges. Default is "color".

virtual char* vtkGraphMapper::GetEnabledEdgesArrayName (  )  [virtual]

The array to use for coloring edges. Default is "color".

virtual void vtkGraphMapper::SetEnableEdgesByArray ( int   )  [virtual]

Whether to enable/disable edges using array values. Default is off.

virtual int vtkGraphMapper::GetEnableEdgesByArray (  )  [virtual]

Whether to enable/disable edges using array values. Default is off.

virtual void vtkGraphMapper::EnableEdgesByArrayOn (  )  [virtual]

Whether to enable/disable edges using array values. Default is off.

virtual void vtkGraphMapper::EnableEdgesByArrayOff (  )  [virtual]

Whether to enable/disable edges using array values. Default is off.

virtual void vtkGraphMapper::SetEnabledVerticesArrayName ( const char *   )  [virtual]

The array to use for coloring edges. Default is "color".

virtual char* vtkGraphMapper::GetEnabledVerticesArrayName (  )  [virtual]

The array to use for coloring edges. Default is "color".

virtual void vtkGraphMapper::SetEnableVerticesByArray ( int   )  [virtual]

Whether to enable/disable vertices using array values. Default is off.

virtual int vtkGraphMapper::GetEnableVerticesByArray (  )  [virtual]

Whether to enable/disable vertices using array values. Default is off.

virtual void vtkGraphMapper::EnableVerticesByArrayOn (  )  [virtual]

Whether to enable/disable vertices using array values. Default is off.

virtual void vtkGraphMapper::EnableVerticesByArrayOff (  )  [virtual]

Whether to enable/disable vertices using array values. Default is off.

void vtkGraphMapper::SetIconArrayName ( const char *  name  ) 

The array to use for assigning icons.

const char* vtkGraphMapper::GetIconArrayName (  ) 

The array to use for assigning icons.

void vtkGraphMapper::AddIconType ( char *  type,
int  index 
)

Associate the icon at index "index" in the vtkTexture to all vertices containing "type" as a value in the vertex attribute array specified by IconArrayName.

void vtkGraphMapper::ClearIconTypes (  ) 

Clear all icon mappings.

void vtkGraphMapper::SetIconSize ( int *  size  ) 

Specify the Width and Height, in pixels, of an icon in the icon sheet.

int* vtkGraphMapper::GetIconSize (  ) 

Specify the Width and Height, in pixels, of an icon in the icon sheet.

void vtkGraphMapper::SetIconAlignment ( int  alignment  ) 

Specify where the icons should be placed in relation to the vertex. See vtkIconGlyphFilter.h for possible values.

vtkTexture* vtkGraphMapper::GetIconTexture (  ) 

The texture containing the icon sheet.

void vtkGraphMapper::SetIconTexture ( vtkTexture texture  ) 

The texture containing the icon sheet.

void vtkGraphMapper::SetIconVisibility ( bool  vis  ) 

Whether to show icons. Default is off.

bool vtkGraphMapper::GetIconVisibility (  ) 

Whether to show icons. Default is off.

virtual void vtkGraphMapper::IconVisibilityOn (  )  [virtual]

Whether to show icons. Default is off.

virtual void vtkGraphMapper::IconVisibilityOff (  )  [virtual]

Whether to show icons. Default is off.

virtual float vtkGraphMapper::GetVertexPointSize (  )  [virtual]

Get/Set the vertex point size

void vtkGraphMapper::SetVertexPointSize ( float  size  ) 

Get/Set the vertex point size

virtual float vtkGraphMapper::GetEdgeLineWidth (  )  [virtual]

Get/Set the edge line width

void vtkGraphMapper::SetEdgeLineWidth ( float  width  ) 

Get/Set the edge line width

virtual void vtkGraphMapper::ApplyViewTheme ( vtkViewTheme theme  )  [virtual]

Apply the theme to this view.

void vtkGraphMapper::ReleaseGraphicsResources ( vtkWindow  )  [virtual]

Release any graphics resources that are being consumed by this mapper. The parameter window could be used to determine which graphic resources to release.

Reimplemented from vtkMapper.

unsigned long vtkGraphMapper::GetMTime (  )  [virtual]

Get the mtime also considering the lookup table.

Reimplemented from vtkMapper.

void vtkGraphMapper::SetInput ( vtkGraph input  ) 

Set the Input of this mapper.

vtkGraph* vtkGraphMapper::GetInput (  ) 

Set the Input of this mapper.

Reimplemented from vtkMapper.

virtual double* vtkGraphMapper::GetBounds (  )  [virtual]

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Reimplemented from vtkMapper.

virtual void vtkGraphMapper::GetBounds ( double *  bounds  )  [inline, virtual]

Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).

Definition at line 217 of file vtkGraphMapper.h.

virtual vtkLookupTable* vtkGraphMapper::GetEdgeLookupTable (  )  [virtual]

Access to the lookup tables used by the vertex and edge mappers.

virtual vtkLookupTable* vtkGraphMapper::GetVertexLookupTable (  )  [virtual]

Access to the lookup tables used by the vertex and edge mappers.

virtual char* vtkGraphMapper::GetVertexColorArrayNameInternal (  )  [protected, virtual]

Used to store the vertex and edge color array names

virtual void vtkGraphMapper::SetVertexColorArrayNameInternal ( const char *   )  [protected, virtual]

Used to store the vertex and edge color array names

virtual char* vtkGraphMapper::GetEdgeColorArrayNameInternal (  )  [protected, virtual]

Used to store the vertex and edge color array names

virtual void vtkGraphMapper::SetEdgeColorArrayNameInternal ( const char *   )  [protected, virtual]

Used to store the vertex and edge color array names

virtual char* vtkGraphMapper::GetIconArrayNameInternal (  )  [protected, virtual]

virtual void vtkGraphMapper::SetIconArrayNameInternal ( const char *   )  [protected, virtual]

virtual void vtkGraphMapper::ReportReferences ( vtkGarbageCollector  )  [protected, virtual]

Reimplemented from vtkAlgorithm.

virtual int vtkGraphMapper::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkAlgorithm.


Member Data Documentation

Used to store the vertex and edge color array names

Definition at line 236 of file vtkGraphMapper.h.

Used to store the vertex and edge color array names

Definition at line 238 of file vtkGraphMapper.h.

Definition at line 241 of file vtkGraphMapper.h.

Definition at line 242 of file vtkGraphMapper.h.

Definition at line 243 of file vtkGraphMapper.h.

Definition at line 244 of file vtkGraphMapper.h.

Definition at line 247 of file vtkGraphMapper.h.

Definition at line 251 of file vtkGraphMapper.h.

Definition at line 252 of file vtkGraphMapper.h.

Definition at line 254 of file vtkGraphMapper.h.

Definition at line 255 of file vtkGraphMapper.h.

Definition at line 256 of file vtkGraphMapper.h.

Definition at line 257 of file vtkGraphMapper.h.

Definition at line 258 of file vtkGraphMapper.h.

Definition at line 260 of file vtkGraphMapper.h.

Definition at line 261 of file vtkGraphMapper.h.

Definition at line 262 of file vtkGraphMapper.h.

Definition at line 263 of file vtkGraphMapper.h.

Definition at line 265 of file vtkGraphMapper.h.

Definition at line 266 of file vtkGraphMapper.h.

Definition at line 267 of file vtkGraphMapper.h.

Definition at line 268 of file vtkGraphMapper.h.

Definition at line 272 of file vtkGraphMapper.h.

Definition at line 273 of file vtkGraphMapper.h.


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

Generated on Wed Jun 3 19:06:32 2009 for VTK by  doxygen 1.5.6