Go to the documentation of this file.
42 #ifndef vtkIconGlyphFilter_h
43 #define vtkIconGlyphFilter_h
45 #include "vtkFiltersGeneralModule.h"
48 #define VTK_ICON_GRAVITY_TOP_RIGHT 1
49 #define VTK_ICON_GRAVITY_TOP_CENTER 2
50 #define VTK_ICON_GRAVITY_TOP_LEFT 3
51 #define VTK_ICON_GRAVITY_CENTER_RIGHT 4
52 #define VTK_ICON_GRAVITY_CENTER_CENTER 5
53 #define VTK_ICON_GRAVITY_CENTER_LEFT 6
54 #define VTK_ICON_GRAVITY_BOTTOM_RIGHT 7
55 #define VTK_ICON_GRAVITY_BOTTOM_CENTER 8
56 #define VTK_ICON_GRAVITY_BOTTOM_LEFT 9
58 #define VTK_ICON_SCALING_OFF 0
59 #define VTK_ICON_SCALING_USE_SCALING_ARRAY 1
78 vtkSetVector2Macro(IconSize,
int);
79 vtkGetVectorMacro(IconSize,
int,2);
86 vtkSetVector2Macro(IconSheetSize,
int);
87 vtkGetVectorMacro(IconSheetSize,
int,2);
98 vtkSetVector2Macro(DisplaySize,
int);
99 vtkGetVectorMacro(DisplaySize,
int,2);
107 vtkSetMacro(UseIconSize,
bool);
108 vtkGetMacro(UseIconSize,
bool);
109 vtkBooleanMacro(UseIconSize,
bool);
118 vtkSetMacro(IconScaling,
int);
119 vtkGetMacro(IconScaling,
int);
132 vtkSetMacro(PassScalars,
bool);
133 vtkGetMacro(PassScalars,
bool);
134 vtkBooleanMacro(PassScalars,
bool);
143 vtkSetMacro(Gravity,
int);
144 vtkGetMacro(Gravity,
int);
161 vtkSetVector2Macro(Offset,
int);
162 vtkGetVectorMacro(Offset,
int,2);
174 int IconSheetSize[2];
187 void IconConvertIndex(
int id,
int & j,
int & k);
190 inline void vtkIconGlyphFilter::IconConvertIndex(
int id,
int & j,
int & k)
195 j =
id - dimX * static_cast<int>(
id/dimX);
196 k = dimY - static_cast<int>(
id/dimX) - 1;
void SetGravityToTopLeft()
#define VTK_ICON_GRAVITY_TOP_CENTER
void SetGravityToBottomCenter()
#define VTK_ICON_GRAVITY_TOP_LEFT
#define VTK_ICON_GRAVITY_BOTTOM_RIGHT
void SetIconScalingToScalingOff()
#define VTK_ICON_GRAVITY_BOTTOM_LEFT
void SetGravityToCenterCenter()
void SetGravityToTopCenter()
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetIconScalingToScalingArray()
void SetGravityToBottomRight()
void SetGravityToCenterRight()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
void SetGravityToTopRight()
#define VTK_ICON_GRAVITY_CENTER_CENTER
a simple class to control print indentation
#define VTK_ICON_GRAVITY_TOP_RIGHT
#define VTK_ICON_GRAVITY_BOTTOM_CENTER
#define VTK_ICON_SCALING_OFF
#define VTK_ICON_SCALING_USE_SCALING_ARRAY
void SetGravityToBottomLeft()
void SetGravityToCenterLeft()
#define VTK_ICON_GRAVITY_CENTER_LEFT
static vtkPolyDataAlgorithm * New()
#define VTK_ICON_GRAVITY_CENTER_RIGHT
Superclass for algorithms that produce only polydata as output.