 |
VTK
9.1.0
|
Go to the documentation of this file.
39 #ifndef vtkIconGlyphFilter_h
40 #define vtkIconGlyphFilter_h
42 #include "vtkFiltersGeneralModule.h"
45 #define VTK_ICON_GRAVITY_TOP_RIGHT 1
46 #define VTK_ICON_GRAVITY_TOP_CENTER 2
47 #define VTK_ICON_GRAVITY_TOP_LEFT 3
48 #define VTK_ICON_GRAVITY_CENTER_RIGHT 4
49 #define VTK_ICON_GRAVITY_CENTER_CENTER 5
50 #define VTK_ICON_GRAVITY_CENTER_LEFT 6
51 #define VTK_ICON_GRAVITY_BOTTOM_RIGHT 7
52 #define VTK_ICON_GRAVITY_BOTTOM_CENTER 8
53 #define VTK_ICON_GRAVITY_BOTTOM_LEFT 9
55 #define VTK_ICON_SCALING_OFF 0
56 #define VTK_ICON_SCALING_USE_SCALING_ARRAY 1
74 vtkSetVector2Macro(IconSize,
int);
75 vtkGetVectorMacro(IconSize,
int, 2);
82 vtkSetVector2Macro(IconSheetSize,
int);
83 vtkGetVectorMacro(IconSheetSize,
int, 2);
94 vtkSetVector2Macro(DisplaySize,
int);
95 vtkGetVectorMacro(DisplaySize,
int, 2);
103 vtkSetMacro(UseIconSize,
bool);
104 vtkGetMacro(UseIconSize,
bool);
105 vtkBooleanMacro(UseIconSize,
bool);
114 vtkSetMacro(IconScaling,
int);
115 vtkGetMacro(IconScaling,
int);
127 vtkSetMacro(PassScalars,
bool);
128 vtkGetMacro(PassScalars,
bool);
129 vtkBooleanMacro(PassScalars,
bool);
138 vtkSetMacro(Gravity,
int);
139 vtkGetMacro(Gravity,
int);
156 vtkSetVector2Macro(Offset,
int);
157 vtkGetVectorMacro(Offset,
int, 2);
167 int IconSheetSize[2];
180 void IconConvertIndex(
int id,
int& j,
int& k);
183 inline void vtkIconGlyphFilter::IconConvertIndex(
int id,
int& j,
int& k)
188 j =
id - dimX *
static_cast<int>(
id / dimX);
189 k = dimY -
static_cast<int>(
id / dimX) - 1;
void SetGravityToTopLeft()
Specify if the input points define the center of the icon quad or one of top right corner,...
#define VTK_ICON_GRAVITY_TOP_CENTER
void SetGravityToBottomCenter()
Specify if the input points define the center of the icon quad or one of top right corner,...
#define VTK_ICON_GRAVITY_TOP_LEFT
static vtkIconGlyphFilter * New()
Standard VTK methods.
#define VTK_ICON_GRAVITY_BOTTOM_RIGHT
void SetIconScalingToScalingOff()
Specify how to specify individual icons.
#define VTK_ICON_GRAVITY_BOTTOM_LEFT
void SetGravityToCenterCenter()
Specify if the input points define the center of the icon quad or one of top right corner,...
void SetGravityToTopCenter()
Specify if the input points define the center of the icon quad or one of top right corner,...
Filter that generates a polydata consisting of quads with texture coordinates referring to a set of i...
void PrintSelf(ostream &os, vtkIndent indent) override
Standard VTK methods.
void SetIconScalingToScalingArray()
Specify how to specify individual icons.
void SetGravityToBottomRight()
Specify if the input points define the center of the icon quad or one of top right corner,...
void SetGravityToCenterRight()
Specify if the input points define the center of the icon quad or one of top right corner,...
void SetGravityToTopRight()
Specify if the input points define the center of the icon quad or one of top right corner,...
#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
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
~vtkIconGlyphFilter() override
void SetGravityToBottomLeft()
Specify if the input points define the center of the icon quad or one of top right corner,...
void SetGravityToCenterLeft()
Specify if the input points define the center of the icon quad or one of top right corner,...
#define VTK_ICON_GRAVITY_CENTER_LEFT
#define VTK_ICON_GRAVITY_CENTER_RIGHT
Superclass for algorithms that produce only polydata as output.