#include <vtkGlyphSource2D.h>
Inheritance diagram for vtkGlyphSource2D:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetCenter (float, float, float) |
virtual void | SetCenter (float[3]) |
virtual float * | GetCenter () |
virtual void | GetCenter (float data[3]) |
virtual void | SetScale (float) |
virtual float | GetScale () |
virtual void | SetScale2 (float) |
virtual float | GetScale2 () |
virtual void | SetColor (float, float, float) |
virtual void | SetColor (float[3]) |
virtual float * | GetColor () |
virtual void | GetColor (float data[3]) |
virtual void | SetFilled (int) |
virtual int | GetFilled () |
virtual void | FilledOn () |
virtual void | FilledOff () |
virtual void | SetDash (int) |
virtual int | GetDash () |
virtual void | DashOn () |
virtual void | DashOff () |
virtual void | SetCross (int) |
virtual int | GetCross () |
virtual void | CrossOn () |
virtual void | CrossOff () |
virtual void | SetRotationAngle (float) |
virtual float | GetRotationAngle () |
virtual void | SetGlyphType (int) |
virtual int | GetGlyphType () |
void | SetGlyphTypeToNone () |
void | SetGlyphTypeToVertex () |
void | SetGlyphTypeToDash () |
void | SetGlyphTypeToCross () |
void | SetGlyphTypeToThickCross () |
void | SetGlyphTypeToTriangle () |
void | SetGlyphTypeToSquare () |
void | SetGlyphTypeToCircle () |
void | SetGlyphTypeToDiamond () |
void | SetGlyphTypeToArrow () |
void | SetGlyphTypeToThickArrow () |
void | SetGlyphTypeToHookedArrow () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkGlyphSource2D * | SafeDownCast (vtkObject *o) |
vtkGlyphSource2D * | New () |
Protected Methods | |
vtkGlyphSource2D () | |
~vtkGlyphSource2D () | |
void | Execute () |
void | TransformGlyph (vtkPoints *pts) |
void | ConvertColor () |
void | CreateVertex (vtkPoints *pts, vtkCellArray *verts, vtkUnsignedCharArray *colors) |
void | CreateDash (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, float scale) |
void | CreateCross (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, float scale) |
void | CreateThickCross (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateTriangle (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateSquare (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateCircle (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateDiamond (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateThickArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateHookedArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
Protected Attributes | |
float | Center [3] |
float | Scale |
float | Scale2 |
float | Color [3] |
int | Filled |
int | Dash |
int | Cross |
int | GlyphType |
float | RotationAngle |
unsigned char | RGB [3] |
To use this class, specify the glyph type to use and its attributes. Attributes include its position (i.e., center point), scale, color, and whether the symbol is filled or not (a polygon or closed line sequence). You can also put a short line through the glyph running from -x to +x (the glyph looks like it's on a line), or a cross.
Definition at line 84 of file vtkGlyphSource2D.h.
|
|
|
Definition at line 175 of file vtkGlyphSource2D.h. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
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 vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkPolyDataSource. |
|
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 vtkSource. |
|
Construct a vertex glyph centered at the origin, scale 1.0, white in color, filled, with line segment passing through the point. Reimplemented from vtkPolyDataSource. |
|
Set the center of the glyph. By default the center is (0,0,0). |
|
Set the center of the glyph. By default the center is (0,0,0). |
|
Set the center of the glyph. By default the center is (0,0,0). |
|
Set the center of the glyph. By default the center is (0,0,0). |
|
Set the scale of the glyph. Note that the glyphs are designed to fit in the (1,1) rectangle. |
|
Set the scale of the glyph. Note that the glyphs are designed to fit in the (1,1) rectangle. |
|
Set the scale of optional portions of the glyph (e.g., the dash and cross is DashOn() and CrossOn()). |
|
Set the scale of optional portions of the glyph (e.g., the dash and cross is DashOn() and CrossOn()). |
|
Set the color of the glyph. The default color is white. |
|
Set the color of the glyph. The default color is white. |
|
Set the color of the glyph. The default color is white. |
|
Set the color of the glyph. The default color is white. |
|
Specify whether the glyph is filled (a polygon) or not (a closed polygon defined by line segments). This only applies to 2D closed glyphs. |
|
Specify whether the glyph is filled (a polygon) or not (a closed polygon defined by line segments). This only applies to 2D closed glyphs. |
|
Specify whether the glyph is filled (a polygon) or not (a closed polygon defined by line segments). This only applies to 2D closed glyphs. |
|
Specify whether the glyph is filled (a polygon) or not (a closed polygon defined by line segments). This only applies to 2D closed glyphs. |
|
Specify whether a short line segment is drawn through the glyph. (This is in addition to the glyph. If the glyph type is set to "Dash" there is no need to enable this flag.) |
|
Specify whether a short line segment is drawn through the glyph. (This is in addition to the glyph. If the glyph type is set to "Dash" there is no need to enable this flag.) |
|
Specify whether a short line segment is drawn through the glyph. (This is in addition to the glyph. If the glyph type is set to "Dash" there is no need to enable this flag.) |
|
Specify whether a short line segment is drawn through the glyph. (This is in addition to the glyph. If the glyph type is set to "Dash" there is no need to enable this flag.) |
|
Specify whether a cross is drawn as part of the glyph. (This is in addition to the glyph. If the glyph type is set to "Cross" there is no need to enable this flag.) |
|
Specify whether a cross is drawn as part of the glyph. (This is in addition to the glyph. If the glyph type is set to "Cross" there is no need to enable this flag.) |
|
Specify whether a cross is drawn as part of the glyph. (This is in addition to the glyph. If the glyph type is set to "Cross" there is no need to enable this flag.) |
|
Specify whether a cross is drawn as part of the glyph. (This is in addition to the glyph. If the glyph type is set to "Cross" there is no need to enable this flag.) |
|
Specify an angle (in degrees) to rotate the glyph around the z-axis. Using this ivar, it is possible to generate rotated glyphs (e.g., crosses, arrows, etc.) |
|
Specify an angle (in degrees) to rotate the glyph around the z-axis. Using this ivar, it is possible to generate rotated glyphs (e.g., crosses, arrows, etc.) |
|
Specify the type of glyph to generate. |
|
Specify the type of glyph to generate. |
|
Specify the type of glyph to generate. Definition at line 159 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 160 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 161 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 162 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 163 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 164 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 165 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 166 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 167 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 168 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 169 of file vtkGlyphSource2D.h. |
|
Specify the type of glyph to generate. Definition at line 170 of file vtkGlyphSource2D.h. |
|
This method is the old style execute method Reimplemented from vtkSource. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 179 of file vtkGlyphSource2D.h. |
|
Definition at line 180 of file vtkGlyphSource2D.h. |
|
Definition at line 181 of file vtkGlyphSource2D.h. |
|
Definition at line 182 of file vtkGlyphSource2D.h. |
|
Definition at line 183 of file vtkGlyphSource2D.h. |
|
Definition at line 184 of file vtkGlyphSource2D.h. |
|
Definition at line 185 of file vtkGlyphSource2D.h. |
|
Definition at line 186 of file vtkGlyphSource2D.h. |
|
Definition at line 187 of file vtkGlyphSource2D.h. |
|
Definition at line 191 of file vtkGlyphSource2D.h. |