#include <vtkGlyph3D.h>
Inheritance diagram for vtkGlyph3D:
Public Methods | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetNumberOfSources (int num) |
int | GetNumberOfSources () |
void | SetSource (vtkPolyData *pd) |
void | SetSource (int id, vtkPolyData *pd) |
vtkPolyData * | GetSource (int id=0) |
virtual void | SetScaling (int) |
virtual void | ScalingOn () |
virtual void | ScalingOff () |
virtual int | GetScaling () |
virtual void | SetScaleMode (int) |
virtual int | GetScaleMode () |
void | SetScaleModeToScaleByScalar () |
void | SetScaleModeToScaleByVector () |
void | SetScaleModeToScaleByVectorComponents () |
void | SetScaleModeToDataScalingOff () |
const char * | GetScaleModeAsString () |
virtual void | SetColorMode (int) |
virtual int | GetColorMode () |
void | SetColorModeToColorByScale () |
void | SetColorModeToColorByScalar () |
void | SetColorModeToColorByVector () |
const char * | GetColorModeAsString () |
virtual void | SetScaleFactor (float) |
virtual float | GetScaleFactor () |
virtual void | SetRange (float, float) |
void | SetRange (float[2]) |
virtual float * | GetRange () |
virtual void | GetRange (float data[2]) |
virtual void | SetOrient (int) |
virtual void | OrientOn () |
virtual void | OrientOff () |
virtual int | GetOrient () |
virtual void | SetClamping (int) |
virtual void | ClampingOn () |
virtual void | ClampingOff () |
virtual int | GetClamping () |
virtual void | SetVectorMode (int) |
virtual int | GetVectorMode () |
void | SetVectorModeToUseVector () |
void | SetVectorModeToUseNormal () |
void | SetVectorModeToVectorRotationOff () |
const char * | GetVectorModeAsString () |
virtual void | SetIndexMode (int) |
virtual int | GetIndexMode () |
void | SetIndexModeToScalar () |
void | SetIndexModeToVector () |
void | SetIndexModeToOff () |
const char * | GetIndexModeAsString () |
Static Public Methods | |
int | IsTypeOf (const char *type) |
vtkGlyph3D * | SafeDownCast (vtkObject *o) |
vtkGlyph3D * | New () |
Protected Methods | |
vtkGlyph3D () | |
~vtkGlyph3D () | |
vtkGlyph3D (const vtkGlyph3D &) | |
void | operator= (const vtkGlyph3D &) |
void | Execute () |
void | ExecuteInformation () |
void | ComputeInputUpdateExtents (vtkDataObject *output) |
Protected Attributes | |
int | NumberOfSources |
vtkPolyData ** | Source |
int | Scaling |
int | ScaleMode |
int | ColorMode |
float | ScaleFactor |
float | Range [2] |
int | Orient |
int | VectorMode |
int | Clamping |
int | IndexMode |
vtkGlyph3D is a filter that copies a geometric representation (called a glyph) to every point in the input dataset. The glyph is defined with polygonal data from a source filter input. The glyph may be oriented along the input vectors or normals, and it may be scaled according to scalar data or vector magnitude. More than one glyph may be used by creating a table of source objects, each defining a different glyph. If a table of glyphs is defined, then the table can be indexed into by using either scalar value or vector magnitude.
To use this object you'll have to provide an input dataset and a source to define the glyph. Then decide whether you want to scale the glyph and how to scale the glyph (using scalar value or vector magnitude). Next decide whether you want to orient the glyph, and whether to use the vector data or normal data to orient it. Finally, decide whether to use a table of glyphs, or just a single glyph. If you use a table of glyphs, you'll have to decide whether to index into it with scalar value or with vector magnitude.
|
What is the input update extent that is required to produce the desired output? By default, the whole input is always required but this is overridden in many subclasses. Reimplemented from vtkPolyDataSource. |
|
Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
Return the method of coloring as a descriptive character string. |
|
Return the index mode as a character string. |
|
Return the method of scaling as a descriptive character string. |
|
Get a pointer to a source object at a specified table location. |
|
Return the vector mode as a character string. |
|
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
Construct object with scaling on, scaling mode is by scalar value, scale factor = 1.0, the range is (0,1), orient geometry is on, and orientation is by vector. Clamping and indexing are turned off. No initial sources are defined. Reimplemented from vtkPolyDataSource. Reimplemented in vtkGlyph2D. |
|
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes. Reimplemented from vtkSource. Reimplemented in vtkGlyph2D. |
|
Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.) |
|
Either color by scale, scalar or by vector/normal magnitude. |
|
Index into table of sources by scalar, by vector/normal magnitude, or no indexing. If indexing is turned off, then the first source glyph in the table of glyphs is used. |
|
Get the number of source objects used to define the glyph table. Specify the number of sources before defining a table of glyphs. |
|
Turn on/off orienting of input geometry along vector/normal. |
|
Specify range to map scalar values into. |
|
Specify scale factor to scale object by. |
|
Either scale by scalar or by vector/normal magnitude. |
|
Turn on/off scaling of source geometry. |
|
Specify a source object at a specified table location. |
|
Set the source to use for he glyph. |
|
Specify whether to use vector or normal to perform vector operations. |