Slicer
4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Markups/VTKWidgets/vtkMarkupsGlyphSource2D.h>
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual void | CrossOff () |
virtual void | CrossOn () |
virtual void | DashOff () |
virtual void | DashOn () |
virtual void | FilledOff () |
virtual void | FilledOn () |
virtual double * | GetCenter () |
virtual void | GetCenter (double data[3]) |
virtual const char * | GetClassName () |
virtual double * | GetColor () |
virtual void | GetColor (double data[3]) |
virtual int | GetCross () |
virtual int | GetDash () |
virtual int | GetFilled () |
virtual int | GetGlyphType () |
virtual double | GetRotationAngle () |
virtual double | GetScale () |
virtual double | GetScale2 () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE |
virtual void | SetCenter (double, double, double) |
Set the center of the glyph. By default the center is (0,0,0). More... | |
virtual void | SetCenter (double [3]) |
virtual void | SetColor (double, double, double) |
Set the color of the glyph. The default color is white. More... | |
virtual void | SetColor (double [3]) |
virtual void | SetCross (int) |
virtual void | SetDash (int) |
virtual void | SetFilled (int) |
virtual void | SetGlyphType (int) |
Specify the type of glyph to generate. More... | |
void | SetGlyphTypeAsString (const char *type) |
void | SetGlyphTypeToArrow () |
void | SetGlyphTypeToCircle () |
void | SetGlyphTypeToCross () |
void | SetGlyphTypeToDash () |
void | SetGlyphTypeToDiamond () |
void | SetGlyphTypeToHookedArrow () |
void | SetGlyphTypeToNone () |
void | SetGlyphTypeToSquare () |
void | SetGlyphTypeToStarBurst () |
void | SetGlyphTypeToThickArrow () |
void | SetGlyphTypeToThickCross () |
void | SetGlyphTypeToTriangle () |
void | SetGlyphTypeToVertex () |
virtual void | SetRotationAngle (double) |
virtual void | SetScale (double) |
virtual void | SetScale2 (double) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkMarkupsGlyphSource2D * | New () |
static vtkMarkupsGlyphSource2D * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
void | ConvertColor () |
void | CreateArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateCircle (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateCross (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale=1.0) |
void | CreateDash (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale=1.0) |
void | CreateDiamond (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateHookedArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateSquare (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateStarBurst (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateThickArrow (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateThickCross (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateTriangle (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors) |
void | CreateVertex (vtkPoints *pts, vtkCellArray *verts, vtkUnsignedCharArray *colors) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE |
void | TransformGlyph (vtkPoints *pts) |
vtkMarkupsGlyphSource2D () | |
~vtkMarkupsGlyphSource2D () | |
Protected Attributes | |
double | Center [3] |
double | Color [3] |
int | Cross |
int | Dash |
int | Filled |
int | GlyphType |
unsigned char | RGB [3] |
double | RotationAngle |
double | Scale |
double | Scale2 |
Definition at line 49 of file vtkMarkupsGlyphSource2D.h.
typedef vtkPolyDataAlgorithm vtkMarkupsGlyphSource2D::Superclass |
Definition at line 52 of file vtkMarkupsGlyphSource2D.h.
|
protected |
|
inlineprotected |
Definition at line 125 of file vtkMarkupsGlyphSource2D.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
static |
|
static |
Construct a vertex glyph centered at the origin, scale 1.0, white in color, filled, with line segment passing through the point.
void vtkMarkupsGlyphSource2D::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
protected |
|
static |
|
virtual |
|
virtual |
Set the center of the glyph. By default the center is (0,0,0).
|
virtual |
|
virtual |
Set the color of the glyph. The default color is white.
|
virtual |
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.)
|
virtual |
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.)
|
virtual |
Specify whether the glyph is filled (a polygon) or not (a closed polygon defined by line segments). This only applies to 2D closed glyphs.
|
virtual |
Specify the type of glyph to generate.
void vtkMarkupsGlyphSource2D::SetGlyphTypeAsString | ( | const char * | type | ) |
|
inline |
Definition at line 116 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 114 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 110 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 109 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 115 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 118 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 107 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 113 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 119 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 117 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 111 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 112 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 108 of file vtkMarkupsGlyphSource2D.h.
|
virtual |
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.)
|
virtual |
Set the scale of the glyph. Note that the glyphs are designed to fit in the (1,1) rectangle.
|
virtual |
|
protected |
|
protected |
Definition at line 129 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 132 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 135 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 134 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 133 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 136 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 141 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 137 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 130 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 131 of file vtkMarkupsGlyphSource2D.h.