Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationGlyphSource2D.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) 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 vtkAnnotationGlyphSource2D * | New () |
static vtkAnnotationGlyphSource2D * | 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) |
void | CreateDash (vtkPoints *pts, vtkCellArray *lines, vtkCellArray *polys, vtkUnsignedCharArray *colors, double scale) |
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, double scale) |
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) |
vtkAnnotationGlyphSource2D () | |
~vtkAnnotationGlyphSource2D () 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 59 of file vtkAnnotationGlyphSource2D.h.
typedef vtkPolyDataAlgorithm vtkAnnotationGlyphSource2D::Superclass |
Definition at line 64 of file vtkAnnotationGlyphSource2D.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.
void vtkAnnotationGlyphSource2D::SetGlyphTypeAsString | ( | const char * | type | ) |
|
inline |
Definition at line 138 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 136 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 132 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 131 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 137 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 140 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 129 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 135 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 141 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 139 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 133 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 134 of file vtkAnnotationGlyphSource2D.h.
|
inline |
Definition at line 130 of file vtkAnnotationGlyphSource2D.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 151 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 154 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 157 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 156 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 155 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 158 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 163 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 159 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 152 of file vtkAnnotationGlyphSource2D.h.
|
protected |
Definition at line 153 of file vtkAnnotationGlyphSource2D.h.