VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGraphMapper Class Reference

map vtkGraph and derived classes to graphics primitives More...

#include <vtkGraphMapper.h>

Inheritance diagram for vtkGraphMapper:
Inheritance graph
[legend]
Collaboration diagram for vtkGraphMapper:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkMapper Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGraphMapperNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
void Render (vtkRenderer *ren, vtkActor *act)
void AddIconType (char *type, int index)
void ClearIconTypes ()
void SetIconAlignment (int alignment)
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)
intGetIconSize ()
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 SetInputData (vtkGraph *input)
vtkGraphGetInput ()
virtual doubleGetBounds ()
virtual void GetBounds (double *bounds)
virtual vtkLookupTableGetEdgeLookupTable ()
virtual vtkLookupTableGetVertexLookupTable ()

Static Public Member Functions

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

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 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
< vtkMapArrayValues
IconTypeToIndex
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
char * VertexColorArrayNameInternal
char * EdgeColorArrayNameInternal
virtual char * GetVertexColorArrayNameInternal ()
virtual void SetVertexColorArrayNameInternal (const char *)
virtual char * GetEdgeColorArrayNameInternal ()
virtual void SetEdgeColorArrayNameInternal (const char *)

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 58 of file vtkGraphMapper.h.


Member Typedef Documentation

Reimplemented from vtkMapper.

Definition at line 62 of file vtkGraphMapper.h.


Constructor & Destructor Documentation


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.

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkMapper.

Reimplemented from vtkMapper.

virtual vtkObjectBase* vtkGraphMapper::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkMapper.

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".

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

Whether to color vertices. Default is off.

Whether to color vertices. Default is off.

Whether to color vertices. Default is off.

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"

Whether to show edges or not. Default is on.

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".

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

void vtkGraphMapper::SetColorEdges ( bool  vis)

Whether to color edges. Default is off.

Whether to color edges. Default is off.

Whether to color edges. Default is off.

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.

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.

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.

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.

Clear all icon mappings.

void vtkGraphMapper::SetIconSize ( int size)

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

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

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

The texture containing the icon sheet.

The texture containing the icon sheet.

Whether to show icons. Default is off.

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.

Get/Set the vertex point size

Get/Set the vertex point size

virtual float vtkGraphMapper::GetEdgeLineWidth ( ) [virtual]

Get/Set the edge line width

Get/Set the edge line width

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.

Set the Input of this mapper.

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 212 of file vtkGraphMapper.h.

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

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 231 of file vtkGraphMapper.h.

Used to store the vertex and edge color array names

Definition at line 233 of file vtkGraphMapper.h.

Definition at line 236 of file vtkGraphMapper.h.

Definition at line 237 of file vtkGraphMapper.h.

Definition at line 238 of file vtkGraphMapper.h.

Definition at line 239 of file vtkGraphMapper.h.

Definition at line 242 of file vtkGraphMapper.h.

Definition at line 246 of file vtkGraphMapper.h.

Definition at line 247 of file vtkGraphMapper.h.

Definition at line 249 of file vtkGraphMapper.h.

Definition at line 250 of file vtkGraphMapper.h.

Definition at line 251 of file vtkGraphMapper.h.

Definition at line 252 of file vtkGraphMapper.h.

Definition at line 253 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 267 of file vtkGraphMapper.h.

Definition at line 268 of file vtkGraphMapper.h.


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