41 #ifndef vtkIconGlyphFilter_h
42 #define vtkIconGlyphFilter_h
47 #define VTK_ICON_GRAVITY_TOP_RIGHT 1
48 #define VTK_ICON_GRAVITY_TOP_CENTER 2
49 #define VTK_ICON_GRAVITY_TOP_LEFT 3
50 #define VTK_ICON_GRAVITY_CENTER_RIGHT 4
51 #define VTK_ICON_GRAVITY_CENTER_CENTER 5
52 #define VTK_ICON_GRAVITY_CENTER_LEFT 6
53 #define VTK_ICON_GRAVITY_BOTTOM_RIGHT 7
54 #define VTK_ICON_GRAVITY_BOTTOM_CENTER 8
55 #define VTK_ICON_GRAVITY_BOTTOM_LEFT 9
57 #define VTK_ICON_SCALING_OFF 0
58 #define VTK_ICON_SCALING_USE_SCALING_ARRAY 1
74 vtkSetVector2Macro(IconSize,
int);
75 vtkGetVectorMacro(IconSize,
int,2);
81 vtkSetVector2Macro(IconSheetSize,
int);
82 vtkGetVectorMacro(IconSheetSize,
int,2);
91 vtkSetVector2Macro(DisplaySize,
int);
92 vtkGetVectorMacro(DisplaySize,
int,2);
98 vtkSetMacro(UseIconSize,
bool);
99 vtkGetMacro(UseIconSize,
bool);
100 vtkBooleanMacro(UseIconSize,
bool);
107 vtkSetMacro(IconScaling,
int);
108 vtkGetMacro(IconScaling,
int);
119 vtkSetMacro(PassScalars,
bool);
120 vtkGetMacro(PassScalars,
bool);
121 vtkBooleanMacro(PassScalars,
bool);
129 vtkSetMacro(Gravity,
int);
130 vtkGetMacro(Gravity,
int);
145 vtkSetVector2Macro(Offset,
int);
146 vtkGetVectorMacro(Offset,
int,2);
158 int IconSheetSize[2];
171 void IconConvertIndex(
int id,
int & j,
int & k);
174 inline void vtkIconGlyphFilter::IconConvertIndex(
int id,
int & j,
int & k)
179 j =
id - dimX *
static_cast<int>(
id/dimX);
180 k = dimY -
static_cast<int>(
id/dimX) - 1;
void SetIconScalingToScalingArray()
#define VTK_ICON_GRAVITY_BOTTOM_LEFT
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
#define VTK_ICON_GRAVITY_BOTTOM_RIGHT
void SetGravityToCenterLeft()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
void SetGravityToTopLeft()
#define VTK_ICON_GRAVITY_CENTER_LEFT
#define VTK_ICON_GRAVITY_TOP_CENTER
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
void SetGravityToBottomLeft()
#define VTK_ICON_GRAVITY_CENTER_CENTER
#define VTKFILTERSGENERAL_EXPORT
void SetIconScalingToScalingOff()
#define VTK_ICON_GRAVITY_TOP_LEFT
#define VTK_ICON_SCALING_USE_SCALING_ARRAY
#define VTK_ICON_GRAVITY_BOTTOM_CENTER
void SetGravityToTopCenter()
void SetGravityToBottomRight()
void SetGravityToTopRight()
void SetGravityToCenterRight()
void SetGravityToCenterCenter()
#define VTK_ICON_GRAVITY_TOP_RIGHT
#define VTK_ICON_GRAVITY_CENTER_RIGHT
void SetGravityToBottomCenter()
#define VTK_ICON_SCALING_OFF