VTK
|
Appends a cylinder to a cone to form an arrow. More...
#include <vtkArrowSource.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkArrowSource * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetTipLength (double) |
virtual double | GetTipLength () |
virtual void | SetTipRadius (double) |
virtual double | GetTipRadius () |
virtual void | SetTipResolution (int) |
virtual int | GetTipResolution () |
virtual void | SetShaftRadius (double) |
virtual double | GetShaftRadius () |
virtual void | SetShaftResolution (int) |
virtual int | GetShaftResolution () |
virtual void | InvertOn () |
virtual void | InvertOff () |
virtual void | SetInvert (bool) |
virtual bool | GetInvert () |
Static Public Member Functions | |
static vtkArrowSource * | New () |
static int | IsTypeOf (const char *type) |
static vtkArrowSource * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkArrowSource () | |
~vtkArrowSource () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
int | TipResolution |
double | TipLength |
double | TipRadius |
int | ShaftResolution |
double | ShaftRadius |
bool | Invert |
Appends a cylinder to a cone to form an arrow.
vtkArrowSource was intended to be used as the source for a glyph. The shaft base is always at (0,0,0). The arrow tip is always at (1,0,0). If "Invert" is true, then the ends are flipped i.e. tip is at (0,0,0) while base is at (1, 0, 0). The resolution of the cone and shaft can be set and default to 6. The radius of the cone and shaft can be set and default to 0.03 and 0.1. The length of the tip can also be set, and defaults to 0.35.
Definition at line 36 of file vtkArrowSource.h.
typedef vtkPolyDataAlgorithm vtkArrowSource::Superclass |
Definition at line 42 of file vtkArrowSource.h.
|
protected |
|
inlineprotected |
Definition at line 84 of file vtkArrowSource.h.
|
static |
Construct cone with angle of 45 degrees.
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkArrowSource* vtkArrowSource::NewInstance | ( | ) | const |
void vtkArrowSource::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set the length, and radius of the tip. They default to 0.35 and 0.1
|
virtual |
Set the length, and radius of the tip. They default to 0.35 and 0.1
|
virtual |
Set the length, and radius of the tip. They default to 0.35 and 0.1
|
virtual |
Set the length, and radius of the tip. They default to 0.35 and 0.1
|
virtual |
Set the resolution of the tip. The tip behaves the same as a cone. Resoultion 1 gives a single triangle, 2 gives two crossed triangles.
|
virtual |
Set the resolution of the tip. The tip behaves the same as a cone. Resoultion 1 gives a single triangle, 2 gives two crossed triangles.
|
virtual |
Set the radius of the shaft. Defaults to 0.03.
|
virtual |
Set the radius of the shaft. Defaults to 0.03.
|
virtual |
Set the resolution of the shaft. 2 gives a rectangle. I would like to extend the cone to produce a line, but this is not an option now.
|
virtual |
Set the resolution of the shaft. 2 gives a rectangle. I would like to extend the cone to produce a line, but this is not an option now.
|
virtual |
Inverts the arrow direction. When set to true, base is at (1, 0, 0) while the tip is at (0, 0, 0). The default is false, i.e. base at (0, 0, 0) and the tip at (1, 0, 0).
|
virtual |
Inverts the arrow direction. When set to true, base is at (1, 0, 0) while the tip is at (0, 0, 0). The default is false, i.e. base at (0, 0, 0) and the tip at (1, 0, 0).
|
virtual |
Inverts the arrow direction. When set to true, base is at (1, 0, 0) while the tip is at (0, 0, 0). The default is false, i.e. base at (0, 0, 0) and the tip at (1, 0, 0).
|
virtual |
Inverts the arrow direction. When set to true, base is at (1, 0, 0) while the tip is at (0, 0, 0). The default is false, i.e. base at (0, 0, 0) and the tip at (1, 0, 0).
|
protected |
|
protected |
Definition at line 88 of file vtkArrowSource.h.
|
protected |
Definition at line 89 of file vtkArrowSource.h.
|
protected |
Definition at line 90 of file vtkArrowSource.h.
|
protected |
Definition at line 92 of file vtkArrowSource.h.
|
protected |
Definition at line 93 of file vtkArrowSource.h.
|
protected |
Definition at line 94 of file vtkArrowSource.h.