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 158 int IconSheetSize[2];
171 void IconConvertIndex(
int id,
int & j,
int & k);
174 inline void vtkIconGlyphFilter::IconConvertIndex(
int id,
int & j,
int & k)
176 int dimX = this->IconSheetSize[0]/this->IconSize[0];
177 int dimY = this->IconSheetSize[1]/this->IconSize[1];
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)
#define vtkGetMacro(name, type)
void SetGravityToTopLeft()
#define VTK_ICON_GRAVITY_CENTER_LEFT
#define VTK_ICON_GRAVITY_TOP_CENTER
#define vtkTypeMacro(thisClass, superclass)
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()
#define vtkBooleanMacro(name, type)
void SetGravityToTopRight()
void SetGravityToCenterRight()
void SetGravityToCenterCenter()
#define vtkGetVectorMacro(name, type, count)
#define VTK_ICON_GRAVITY_TOP_RIGHT
#define VTK_ICON_GRAVITY_CENTER_RIGHT
#define vtkSetVector2Macro(name, type)
void SetGravityToBottomCenter()
#define VTK_ICON_SCALING_OFF
#define vtkSetMacro(name, type)