vtkIconGlyphFilter Class Reference

#include <vtkIconGlyphFilter.h>

Inheritance diagram for vtkIconGlyphFilter:

Inheritance graph
[legend]
Collaboration diagram for vtkIconGlyphFilter:

Collaboration graph
[legend]

List of all members.


Detailed Description

Filter that generates a polydata with texture coordinates corresponding to icons within a sheet of icons.

vtkIconGlyphFilter takes in a vtkPointSet where each point corresponds to the center of an icon. Scalar integer data must also be set to give each point an icon index. This index is a zero based row major index into an image that contains a grid of icons. You must also set pixel Size of the icon image and the size of a particular icon.

See also:
vtkPolyDataAlgorithm
Tests:
vtkIconGlyphFilter (Tests)

Definition at line 48 of file vtkIconGlyphFilter.h.

typedef vtkPolyDataAlgorithm Superclass
static vtkIconGlyphFilterNew ()
static int IsTypeOf (const char *type)
static vtkIconGlyphFilterSafeDownCast (vtkObject *o)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)

Public Member Functions

virtual void SetIconSize (int, int)
void SetIconSize (int[2])
virtual int * GetIconSize ()
virtual void GetIconSize (int data[2])
virtual void SetIconSheetSize (int, int)
void SetIconSheetSize (int[2])
virtual int * GetIconSheetSize ()
virtual void GetIconSheetSize (int data[2])
void SetUseIconSize (bool b)
bool GetUseIconSize ()
virtual void UseIconSizeOn ()
virtual void UseIconSizeOff ()
virtual void SetGravity (int)
virtual int GetGravity ()
void SetGravityToTopRight ()
void SetGravityToTopCenter ()
void SetGravityToTopLeft ()
void SetGravityToCenterRight ()
void SetGravityToCenterCenter ()
void SetGravityToCenterLeft ()
void SetGravityToBottomRight ()
void SetGravityToBottomCenter ()
void SetGravityToBottomLeft ()

Protected Member Functions

 vtkIconGlyphFilter ()
 ~vtkIconGlyphFilter ()
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)

Protected Attributes

int IconSize [2]
int IconSheetSize [2]
int Gravity
bool UseIconSize

Member Typedef Documentation

Reimplemented from vtkPolyDataAlgorithm.

Definition at line 54 of file vtkIconGlyphFilter.h.


Constructor & Destructor Documentation

vtkIconGlyphFilter::vtkIconGlyphFilter (  )  [protected]

vtkIconGlyphFilter::~vtkIconGlyphFilter (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

static int vtkIconGlyphFilter::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 vtkPolyDataAlgorithm.

virtual int vtkIconGlyphFilter::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 vtkPolyDataAlgorithm.

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

Reimplemented from vtkPolyDataAlgorithm.

void vtkIconGlyphFilter::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 vtkPolyDataAlgorithm.

virtual void vtkIconGlyphFilter::SetIconSize ( int  ,
int   
) [virtual]

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

void vtkIconGlyphFilter::SetIconSize ( int  [2]  ) 

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

virtual int* vtkIconGlyphFilter::GetIconSize (  )  [virtual]

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

virtual void vtkIconGlyphFilter::GetIconSize ( int  data[2]  )  [virtual]

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

virtual void vtkIconGlyphFilter::SetIconSheetSize ( int  ,
int   
) [virtual]

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

void vtkIconGlyphFilter::SetIconSheetSize ( int  [2]  ) 

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

virtual int* vtkIconGlyphFilter::GetIconSheetSize (  )  [virtual]

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

virtual void vtkIconGlyphFilter::GetIconSheetSize ( int  data[2]  )  [virtual]

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

void vtkIconGlyphFilter::SetUseIconSize ( bool  b  ) 

Specify whether the Quad generated to place the icon on will be either 1 x 1 or the dimensions specified by IconSize.

bool vtkIconGlyphFilter::GetUseIconSize (  ) 

Specify whether the Quad generated to place the icon on will be either 1 x 1 or the dimensions specified by IconSize.

virtual void vtkIconGlyphFilter::UseIconSizeOn (  )  [virtual]

Specify whether the Quad generated to place the icon on will be either 1 x 1 or the dimensions specified by IconSize.

virtual void vtkIconGlyphFilter::UseIconSizeOff (  )  [virtual]

Specify whether the Quad generated to place the icon on will be either 1 x 1 or the dimensions specified by IconSize.

virtual void vtkIconGlyphFilter::SetGravity ( int   )  [virtual]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

virtual int vtkIconGlyphFilter::GetGravity (  )  [virtual]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

void vtkIconGlyphFilter::SetGravityToTopRight (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 86 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToTopCenter (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 87 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToTopLeft (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 88 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToCenterRight (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 89 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToCenterCenter (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 90 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToCenterLeft (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 91 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToBottomRight (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 92 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToBottomCenter (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 93 of file vtkIconGlyphFilter.h.

void vtkIconGlyphFilter::SetGravityToBottomLeft (  )  [inline]

Specify if the input points define the center of the icon quad or one of top right corner, top center, top left corner, center right, center, center center left, bottom right corner, bottom center or bottom left corner.

Definition at line 94 of file vtkIconGlyphFilter.h.

virtual int vtkIconGlyphFilter::RequestData ( vtkInformation request,
vtkInformationVector **  inputVector,
vtkInformationVector outputVector 
) [protected, virtual]

This is called by the superclass. This is the method you should override.

Reimplemented from vtkPolyDataAlgorithm.


Member Data Documentation

int vtkIconGlyphFilter::IconSize[2] [protected]

Definition at line 105 of file vtkIconGlyphFilter.h.

Definition at line 106 of file vtkIconGlyphFilter.h.

int vtkIconGlyphFilter::Gravity [protected]

Definition at line 108 of file vtkIconGlyphFilter.h.

Definition at line 109 of file vtkIconGlyphFilter.h.


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

Generated on Sat Dec 27 13:28:38 2008 for VTK by  doxygen 1.5.6