Slicer  4.8
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
vtkSlicerGlyphSource2D Class Reference

#include <Base/Logic/vtkSlicerGlyphSource2D.h>

Inheritance diagram for vtkSlicerGlyphSource2D:
Inheritance graph
[legend]
Collaboration diagram for vtkSlicerGlyphSource2D:
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) 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 vtkSlicerGlyphSource2DNew ()
 
static vtkSlicerGlyphSource2DSafeDownCast (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 *) VTK_OVERRIDE
 
void TransformGlyph (vtkPoints *pts)
 
 vtkSlicerGlyphSource2D ()
 
 ~vtkSlicerGlyphSource2D ()
 

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 52 of file vtkSlicerGlyphSource2D.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkSlicerGlyphSource2D::Superclass

Definition at line 55 of file vtkSlicerGlyphSource2D.h.

Constructor & Destructor Documentation

◆ vtkSlicerGlyphSource2D()

vtkSlicerGlyphSource2D::vtkSlicerGlyphSource2D ( )
protected

◆ ~vtkSlicerGlyphSource2D()

vtkSlicerGlyphSource2D::~vtkSlicerGlyphSource2D ( )
inlineprotected

Definition at line 138 of file vtkSlicerGlyphSource2D.h.

Member Function Documentation

◆ ConvertColor()

void vtkSlicerGlyphSource2D::ConvertColor ( )
protected

◆ CreateArrow()

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

◆ CreateCircle()

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

◆ CreateCross()

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

◆ CreateDash()

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

◆ CreateDiamond()

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

◆ CreateHookedArrow()

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

◆ CreateSquare()

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

◆ CreateStarBurst()

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

◆ CreateThickArrow()

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

◆ CreateThickCross()

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

◆ CreateTriangle()

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

◆ CreateVertex()

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

◆ CrossOff()

virtual void vtkSlicerGlyphSource2D::CrossOff ( )
virtual

◆ CrossOn()

virtual void vtkSlicerGlyphSource2D::CrossOn ( )
virtual

◆ DashOff()

virtual void vtkSlicerGlyphSource2D::DashOff ( )
virtual

◆ DashOn()

virtual void vtkSlicerGlyphSource2D::DashOn ( )
virtual

◆ FilledOff()

virtual void vtkSlicerGlyphSource2D::FilledOff ( )
virtual

◆ FilledOn()

virtual void vtkSlicerGlyphSource2D::FilledOn ( )
virtual

◆ GetCenter() [1/2]

virtual double* vtkSlicerGlyphSource2D::GetCenter ( )
virtual

◆ GetCenter() [2/2]

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

◆ GetClassName()

virtual const char* vtkSlicerGlyphSource2D::GetClassName ( )
virtual

◆ GetColor() [1/2]

virtual double* vtkSlicerGlyphSource2D::GetColor ( )
virtual

◆ GetColor() [2/2]

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

◆ GetCross()

virtual int vtkSlicerGlyphSource2D::GetCross ( )
virtual

◆ GetDash()

virtual int vtkSlicerGlyphSource2D::GetDash ( )
virtual

◆ GetFilled()

virtual int vtkSlicerGlyphSource2D::GetFilled ( )
virtual

◆ GetGlyphType()

virtual int vtkSlicerGlyphSource2D::GetGlyphType ( )
virtual

◆ GetRotationAngle()

virtual double vtkSlicerGlyphSource2D::GetRotationAngle ( )
virtual

◆ GetScale()

virtual double vtkSlicerGlyphSource2D::GetScale ( )
virtual

◆ GetScale2()

virtual double vtkSlicerGlyphSource2D::GetScale2 ( )
virtual

◆ IsA()

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

◆ IsTypeOf()

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

◆ New()

static vtkSlicerGlyphSource2D* vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ RequestData()

int vtkSlicerGlyphSource2D::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protected

◆ SafeDownCast()

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

◆ SetCenter() [1/2]

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

◆ SetCenter() [2/2]

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

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

◆ SetColor() [1/2]

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

◆ SetColor() [2/2]

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

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

◆ SetCross()

virtual void vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::SetGlyphType ( int  )
virtual

Specify the type of glyph to generate.

◆ SetGlyphTypeAsString()

void vtkSlicerGlyphSource2D::SetGlyphTypeAsString ( const char *  type)

◆ SetGlyphTypeToArrow()

void vtkSlicerGlyphSource2D::SetGlyphTypeToArrow ( )
inline

Definition at line 129 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToCircle()

void vtkSlicerGlyphSource2D::SetGlyphTypeToCircle ( )
inline

Definition at line 127 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToCross()

void vtkSlicerGlyphSource2D::SetGlyphTypeToCross ( )
inline

Definition at line 123 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToDash()

void vtkSlicerGlyphSource2D::SetGlyphTypeToDash ( )
inline

Definition at line 122 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToDiamond()

void vtkSlicerGlyphSource2D::SetGlyphTypeToDiamond ( )
inline

Definition at line 128 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToHookedArrow()

void vtkSlicerGlyphSource2D::SetGlyphTypeToHookedArrow ( )
inline

Definition at line 131 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToNone()

void vtkSlicerGlyphSource2D::SetGlyphTypeToNone ( )
inline

Definition at line 120 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToSquare()

void vtkSlicerGlyphSource2D::SetGlyphTypeToSquare ( )
inline

Definition at line 126 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToStarBurst()

void vtkSlicerGlyphSource2D::SetGlyphTypeToStarBurst ( )
inline

Definition at line 132 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToThickArrow()

void vtkSlicerGlyphSource2D::SetGlyphTypeToThickArrow ( )
inline

Definition at line 130 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToThickCross()

void vtkSlicerGlyphSource2D::SetGlyphTypeToThickCross ( )
inline

Definition at line 124 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToTriangle()

void vtkSlicerGlyphSource2D::SetGlyphTypeToTriangle ( )
inline

Definition at line 125 of file vtkSlicerGlyphSource2D.h.

◆ SetGlyphTypeToVertex()

void vtkSlicerGlyphSource2D::SetGlyphTypeToVertex ( )
inline

Definition at line 121 of file vtkSlicerGlyphSource2D.h.

◆ SetRotationAngle()

virtual void vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::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 vtkSlicerGlyphSource2D::SetScale2 ( double  )
virtual

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

◆ TransformGlyph()

void vtkSlicerGlyphSource2D::TransformGlyph ( vtkPoints *  pts)
protected

Member Data Documentation

◆ Center

double vtkSlicerGlyphSource2D::Center[3]
protected

Definition at line 142 of file vtkSlicerGlyphSource2D.h.

◆ Color

double vtkSlicerGlyphSource2D::Color[3]
protected

Definition at line 145 of file vtkSlicerGlyphSource2D.h.

◆ Cross

int vtkSlicerGlyphSource2D::Cross
protected

Definition at line 148 of file vtkSlicerGlyphSource2D.h.

◆ Dash

int vtkSlicerGlyphSource2D::Dash
protected

Definition at line 147 of file vtkSlicerGlyphSource2D.h.

◆ Filled

int vtkSlicerGlyphSource2D::Filled
protected

Definition at line 146 of file vtkSlicerGlyphSource2D.h.

◆ GlyphType

int vtkSlicerGlyphSource2D::GlyphType
protected

Definition at line 149 of file vtkSlicerGlyphSource2D.h.

◆ RGB

unsigned char vtkSlicerGlyphSource2D::RGB[3]
protected

Definition at line 154 of file vtkSlicerGlyphSource2D.h.

◆ RotationAngle

double vtkSlicerGlyphSource2D::RotationAngle
protected

Definition at line 150 of file vtkSlicerGlyphSource2D.h.

◆ Scale

double vtkSlicerGlyphSource2D::Scale
protected

Definition at line 143 of file vtkSlicerGlyphSource2D.h.

◆ Scale2

double vtkSlicerGlyphSource2D::Scale2
protected

Definition at line 144 of file vtkSlicerGlyphSource2D.h.


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