Slicer
5.1
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 | |
enum | GlyphTypes { GlyphNone = 0, GlyphStarBurst, GlyphCross, GlyphCrossDot, GlyphThickCross, GlyphVertex, GlyphDash, GlyphTriangle, GlyphSquare, GlyphCircle, GlyphDiamond, GlyphArrow, GlyphThickArrow, GlyphHookedArrow, GlyphType_Last } |
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) 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 | SetGlyphTypeToArrow () |
void | SetGlyphTypeToCircle () |
void | SetGlyphTypeToCross () |
void | SetGlyphTypeToCrossDot () |
void | SetGlyphTypeToDash () |
void | SetGlyphTypeToDiamond () |
void | SetGlyphTypeToHookedArrow () |
void | SetGlyphTypeToNone () |
void | SetGlyphTypeToSquare () |
void | SetGlyphTypeToStarBurst () |
void | SetGlyphTypeToThickArrow () |
void | SetGlyphTypeToThickCross () |
void | SetGlyphTypeToTriangle () |
void | SetGlyphTypeToVertex () |
void | SetNextGlyphType () |
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, bool dot=false) |
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 *) override |
void | TransformGlyph (vtkPoints *pts) |
vtkMarkupsGlyphSource2D () | |
~vtkMarkupsGlyphSource2D () override=default | |
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 51 of file vtkMarkupsGlyphSource2D.h.
typedef vtkPolyDataAlgorithm vtkMarkupsGlyphSource2D::Superclass |
Definition at line 54 of file vtkMarkupsGlyphSource2D.h.
Definition at line 126 of file vtkMarkupsGlyphSource2D.h.
|
protected |
|
overrideprotecteddefault |
|
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.
|
override |
|
overrideprotected |
|
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.
|
inline |
Definition at line 120 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 118 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 115 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 119 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 122 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 109 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 117 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 110 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 121 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 113 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 116 of file vtkMarkupsGlyphSource2D.h.
|
inline |
Definition at line 114 of file vtkMarkupsGlyphSource2D.h.
void vtkMarkupsGlyphSource2D::SetNextGlyphType | ( | ) |
|
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 151 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 154 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 157 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 156 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 155 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 158 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 163 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 159 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 152 of file vtkMarkupsGlyphSource2D.h.
|
protected |
Definition at line 153 of file vtkMarkupsGlyphSource2D.h.