Slicer  4.11
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkAnnotationGlyphSource2D Class Reference

#include <Modules/Loadable/Annotations/VTKWidgets/vtkAnnotationGlyphSource2D.h>

Inheritance diagram for vtkAnnotationGlyphSource2D:
Inheritance graph
[legend]
Collaboration diagram for vtkAnnotationGlyphSource2D:
Collaboration graph
[legend]

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 vtkAnnotationGlyphSource2DNew ()
 
static vtkAnnotationGlyphSource2DSafeDownCast (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
 

Detailed Description

Definition at line 59 of file vtkAnnotationGlyphSource2D.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkAnnotationGlyphSource2D::Superclass

Definition at line 64 of file vtkAnnotationGlyphSource2D.h.

Constructor & Destructor Documentation

◆ vtkAnnotationGlyphSource2D()

vtkAnnotationGlyphSource2D::vtkAnnotationGlyphSource2D ( )
protected

◆ ~vtkAnnotationGlyphSource2D()

vtkAnnotationGlyphSource2D::~vtkAnnotationGlyphSource2D ( )
overrideprotecteddefault

Member Function Documentation

◆ ConvertColor()

void vtkAnnotationGlyphSource2D::ConvertColor ( )
protected

◆ CreateArrow()

void vtkAnnotationGlyphSource2D::CreateArrow ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateCircle()

void vtkAnnotationGlyphSource2D::CreateCircle ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateCross()

void vtkAnnotationGlyphSource2D::CreateCross ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors,
double  scale 
)
protected

◆ CreateDash()

void vtkAnnotationGlyphSource2D::CreateDash ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors,
double  scale 
)
protected

◆ CreateDiamond()

void vtkAnnotationGlyphSource2D::CreateDiamond ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateHookedArrow()

void vtkAnnotationGlyphSource2D::CreateHookedArrow ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateSquare()

void vtkAnnotationGlyphSource2D::CreateSquare ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateStarBurst()

void vtkAnnotationGlyphSource2D::CreateStarBurst ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors,
double  scale 
)
protected

◆ CreateThickArrow()

void vtkAnnotationGlyphSource2D::CreateThickArrow ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateThickCross()

void vtkAnnotationGlyphSource2D::CreateThickCross ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateTriangle()

void vtkAnnotationGlyphSource2D::CreateTriangle ( vtkPoints *  pts,
vtkCellArray *  lines,
vtkCellArray *  polys,
vtkUnsignedCharArray *  colors 
)
protected

◆ CreateVertex()

void vtkAnnotationGlyphSource2D::CreateVertex ( vtkPoints *  pts,
vtkCellArray *  verts,
vtkUnsignedCharArray *  colors 
)
protected

◆ CrossOff()

virtual void vtkAnnotationGlyphSource2D::CrossOff ( )
virtual

◆ CrossOn()

virtual void vtkAnnotationGlyphSource2D::CrossOn ( )
virtual

◆ DashOff()

virtual void vtkAnnotationGlyphSource2D::DashOff ( )
virtual

◆ DashOn()

virtual void vtkAnnotationGlyphSource2D::DashOn ( )
virtual

◆ FilledOff()

virtual void vtkAnnotationGlyphSource2D::FilledOff ( )
virtual

◆ FilledOn()

virtual void vtkAnnotationGlyphSource2D::FilledOn ( )
virtual

◆ GetCenter() [1/2]

virtual double* vtkAnnotationGlyphSource2D::GetCenter ( )
virtual

◆ GetCenter() [2/2]

virtual void vtkAnnotationGlyphSource2D::GetCenter ( double  data[3])
virtual

◆ GetClassName()

virtual const char* vtkAnnotationGlyphSource2D::GetClassName ( )
virtual

◆ GetColor() [1/2]

virtual double* vtkAnnotationGlyphSource2D::GetColor ( )
virtual

◆ GetColor() [2/2]

virtual void vtkAnnotationGlyphSource2D::GetColor ( double  data[3])
virtual

◆ GetCross()

virtual int vtkAnnotationGlyphSource2D::GetCross ( )
virtual

◆ GetDash()

virtual int vtkAnnotationGlyphSource2D::GetDash ( )
virtual

◆ GetFilled()

virtual int vtkAnnotationGlyphSource2D::GetFilled ( )
virtual

◆ GetGlyphType()

virtual int vtkAnnotationGlyphSource2D::GetGlyphType ( )
virtual

◆ GetRotationAngle()

virtual double vtkAnnotationGlyphSource2D::GetRotationAngle ( )
virtual

◆ GetScale()

virtual double vtkAnnotationGlyphSource2D::GetScale ( )
virtual

◆ GetScale2()

virtual double vtkAnnotationGlyphSource2D::GetScale2 ( )
virtual

◆ IsA()

virtual int vtkAnnotationGlyphSource2D::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkAnnotationGlyphSource2D::IsTypeOf ( const char *  type)
static

◆ New()

static vtkAnnotationGlyphSource2D* vtkAnnotationGlyphSource2D::New ( )
static

Construct a vertex glyph centered at the origin, scale 1.0, white in color, filled, with line segment passing through the point.

◆ PrintSelf()

void vtkAnnotationGlyphSource2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
override

◆ RequestData()

int vtkAnnotationGlyphSource2D::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
overrideprotected

◆ SafeDownCast()

static vtkAnnotationGlyphSource2D* vtkAnnotationGlyphSource2D::SafeDownCast ( vtkObject *  o)
static

◆ SetCenter() [1/2]

virtual void vtkAnnotationGlyphSource2D::SetCenter ( double  [3])
virtual

◆ SetCenter() [2/2]

virtual void vtkAnnotationGlyphSource2D::SetCenter ( double  ,
double  ,
double   
)
virtual


Set the center of the glyph. By default the center is (0,0,0).

◆ SetColor() [1/2]

virtual void vtkAnnotationGlyphSource2D::SetColor ( double  [3])
virtual

◆ SetColor() [2/2]

virtual void vtkAnnotationGlyphSource2D::SetColor ( double  ,
double  ,
double   
)
virtual


Set the color of the glyph. The default color is white.

◆ SetCross()

virtual void vtkAnnotationGlyphSource2D::SetCross ( int  )
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.)

◆ SetDash()

virtual void vtkAnnotationGlyphSource2D::SetDash ( int  )
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.)

◆ SetFilled()

virtual void vtkAnnotationGlyphSource2D::SetFilled ( int  )
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.

◆ SetGlyphType()

virtual void vtkAnnotationGlyphSource2D::SetGlyphType ( int  )
virtual


Specify the type of glyph to generate.

◆ SetGlyphTypeAsString()

void vtkAnnotationGlyphSource2D::SetGlyphTypeAsString ( const char *  type)

◆ SetGlyphTypeToArrow()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToArrow ( )
inline

Definition at line 138 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToCircle()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToCircle ( )
inline

Definition at line 136 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToCross()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToCross ( )
inline

Definition at line 132 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToDash()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToDash ( )
inline

Definition at line 131 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToDiamond()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToDiamond ( )
inline

Definition at line 137 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToHookedArrow()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToHookedArrow ( )
inline

Definition at line 140 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToNone()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToNone ( )
inline

Definition at line 129 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToSquare()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToSquare ( )
inline

Definition at line 135 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToStarBurst()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToStarBurst ( )
inline

Definition at line 141 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToThickArrow()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToThickArrow ( )
inline

Definition at line 139 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToThickCross()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToThickCross ( )
inline

Definition at line 133 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToTriangle()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToTriangle ( )
inline

Definition at line 134 of file vtkAnnotationGlyphSource2D.h.

◆ SetGlyphTypeToVertex()

void vtkAnnotationGlyphSource2D::SetGlyphTypeToVertex ( )
inline

Definition at line 130 of file vtkAnnotationGlyphSource2D.h.

◆ SetRotationAngle()

virtual void vtkAnnotationGlyphSource2D::SetRotationAngle ( double  )
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.)

◆ SetScale()

virtual void vtkAnnotationGlyphSource2D::SetScale ( double  )
virtual

Set the scale of the glyph. Note that the glyphs are designed to fit in the (1,1) rectangle.

◆ SetScale2()

virtual void vtkAnnotationGlyphSource2D::SetScale2 ( double  )
virtual

Set the scale of optional portions of the glyph (e.g., the dash and cross is DashOn() and CrossOn()).

◆ TransformGlyph()

void vtkAnnotationGlyphSource2D::TransformGlyph ( vtkPoints *  pts)
protected

Member Data Documentation

◆ Center

double vtkAnnotationGlyphSource2D::Center[3]
protected

Definition at line 151 of file vtkAnnotationGlyphSource2D.h.

◆ Color

double vtkAnnotationGlyphSource2D::Color[3]
protected

Definition at line 154 of file vtkAnnotationGlyphSource2D.h.

◆ Cross

int vtkAnnotationGlyphSource2D::Cross
protected

Definition at line 157 of file vtkAnnotationGlyphSource2D.h.

◆ Dash

int vtkAnnotationGlyphSource2D::Dash
protected

Definition at line 156 of file vtkAnnotationGlyphSource2D.h.

◆ Filled

int vtkAnnotationGlyphSource2D::Filled
protected

Definition at line 155 of file vtkAnnotationGlyphSource2D.h.

◆ GlyphType

int vtkAnnotationGlyphSource2D::GlyphType
protected

Definition at line 158 of file vtkAnnotationGlyphSource2D.h.

◆ RGB

unsigned char vtkAnnotationGlyphSource2D::RGB[3]
protected

Definition at line 163 of file vtkAnnotationGlyphSource2D.h.

◆ RotationAngle

double vtkAnnotationGlyphSource2D::RotationAngle
protected

Definition at line 159 of file vtkAnnotationGlyphSource2D.h.

◆ Scale

double vtkAnnotationGlyphSource2D::Scale
protected

Definition at line 152 of file vtkAnnotationGlyphSource2D.h.

◆ Scale2

double vtkAnnotationGlyphSource2D::Scale2
protected

Definition at line 153 of file vtkAnnotationGlyphSource2D.h.


The documentation for this class was generated from the following file: