Slicer
4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
|
#include <Base/Logic/vtkSlicerGlyphSource2D.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 vtkSlicerGlyphSource2D * | New () |
static vtkSlicerGlyphSource2D * | 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) |
vtkSlicerGlyphSource2D () | |
~vtkSlicerGlyphSource2D () 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 52 of file vtkSlicerGlyphSource2D.h.
typedef vtkPolyDataAlgorithm vtkSlicerGlyphSource2D::Superclass |
Definition at line 55 of file vtkSlicerGlyphSource2D.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 vtkSlicerGlyphSource2D::SetGlyphTypeAsString | ( | const char * | type | ) |
|
inline |
Definition at line 129 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 127 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 123 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 122 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 128 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 131 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 120 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 126 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 132 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 130 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 124 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 125 of file vtkSlicerGlyphSource2D.h.
|
inline |
Definition at line 121 of file vtkSlicerGlyphSource2D.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 142 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 145 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 148 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 147 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 146 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 149 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 154 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 150 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 143 of file vtkSlicerGlyphSource2D.h.
|
protected |
Definition at line 144 of file vtkSlicerGlyphSource2D.h.