#include <vtkGlyph3D.h>
Inheritance diagram for vtkGlyph3D:


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.
Typically this object operates on input data with scalar and/or vector data. However, scalar and/or vector aren't necessary, and it can be used to copy data from a single source to each point. In this case the scale factor can be used to uniformly scale the glyphs.
The object uses "vector" data to scale glyphs, orient glyphs, and/or index into a table of glyphs. You can choose to use either the vector or normal data at each input point. Use the method SetVectorModeToUseVector() to use the vector input data, and SetVectorModeToUseNormal() to use the normal input data.
If you do use a table of glyphs, make sure to set the Range ivar to make sure the index into the glyph table is computed correctly.
You can turn off scaling of the glyphs completely by using the Scaling ivar. You can also turn off scaling due to data (either vector or scalar) by using the SetScaleModeToDataScalingOff() method.
Definition at line 119 of file vtkGlyph3D.h.
|
|
Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. Definition at line 122 of file vtkGlyph3D.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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
|
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 vtkTypeRevisionMacro found in vtkSetGet.h. Reimplemented from vtkDataSetToPolyDataFilter. Reimplemented in vtkGlyph2D. |
|
|
Reimplemented from vtkDataSetToPolyDataFilter. 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 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 vtkObject. Reimplemented in vtkGlyph2D. |
|
|
Get the number of source objects used to define the glyph table. Specify the number of sources before defining a table of glyphs. |
|
|
Get the number of source objects used to define the glyph table. Specify the number of sources before defining a table of glyphs. |
|
|
Set the source to use for he glyph. Definition at line 139 of file vtkGlyph3D.h. |
|
||||||||||||
|
Specify a source object at a specified table location. |
|
|
Get a pointer to a source object at a specified table location. |
|
|
Turn on/off scaling of source geometry. |
|
|
Turn on/off scaling of source geometry. |
|
|
Turn on/off scaling of source geometry. |
|
|
Turn on/off scaling of source geometry. |
|
|
Either scale by scalar or by vector/normal magnitude. |
|
|
Either scale by scalar or by vector/normal magnitude. |
|
|
Either scale by scalar or by vector/normal magnitude. Definition at line 158 of file vtkGlyph3D.h. References VTK_SCALE_BY_SCALAR. |
|
|
Either scale by scalar or by vector/normal magnitude. Definition at line 160 of file vtkGlyph3D.h. References VTK_SCALE_BY_VECTOR. |
|
|
Either scale by scalar or by vector/normal magnitude. Definition at line 162 of file vtkGlyph3D.h. References VTK_SCALE_BY_VECTORCOMPONENTS. |
|
|
Either scale by scalar or by vector/normal magnitude. Definition at line 164 of file vtkGlyph3D.h. References VTK_DATA_SCALING_OFF. |
|
|
Return the method of scaling as a descriptive character string. Definition at line 285 of file vtkGlyph3D.h. References ScaleMode, VTK_SCALE_BY_SCALAR, and VTK_SCALE_BY_VECTOR. |
|
|
Either color by scale, scalar or by vector/normal magnitude. |
|
|
Either color by scale, scalar or by vector/normal magnitude. |
|
|
Either color by scale, scalar or by vector/normal magnitude. Definition at line 173 of file vtkGlyph3D.h. References VTK_COLOR_BY_SCALE. |
|
|
Either color by scale, scalar or by vector/normal magnitude. Definition at line 175 of file vtkGlyph3D.h. References VTK_COLOR_BY_SCALAR. |
|
|
Either color by scale, scalar or by vector/normal magnitude. Definition at line 177 of file vtkGlyph3D.h. References VTK_COLOR_BY_VECTOR. |
|
|
Return the method of coloring as a descriptive character string. Definition at line 302 of file vtkGlyph3D.h. References ColorMode, VTK_COLOR_BY_SCALAR, and VTK_COLOR_BY_VECTOR. |
|
|
Specify scale factor to scale object by. |
|
|
Specify scale factor to scale object by. |
|
||||||||||||
|
Specify range to map scalar values into. |
|
|
Specify range to map scalar values into. |
|
|
Specify range to map scalar values into. |
|
|
Specify range to map scalar values into. |
|
|
Turn on/off orienting of input geometry along vector/normal. |
|
|
Turn on/off orienting of input geometry along vector/normal. |
|
|
Turn on/off orienting of input geometry along vector/normal. |
|
|
Turn on/off orienting of input geometry along vector/normal. |
|
|
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.) |
|
|
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.) |
|
|
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.) |
|
|
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.) |
|
|
Specify whether to use vector or normal to perform vector operations. |
|
|
Specify whether to use vector or normal to perform vector operations. |
|
|
Specify whether to use vector or normal to perform vector operations. Definition at line 213 of file vtkGlyph3D.h. References VTK_USE_VECTOR. |
|
|
Specify whether to use vector or normal to perform vector operations. Definition at line 214 of file vtkGlyph3D.h. References VTK_USE_NORMAL. |
|
|
Specify whether to use vector or normal to perform vector operations. Definition at line 215 of file vtkGlyph3D.h. References VTK_VECTOR_ROTATION_OFF. |
|
|
Return the vector mode as a character string. Definition at line 319 of file vtkGlyph3D.h. References VectorMode, VTK_USE_NORMAL, and VTK_USE_VECTOR. |
|
|
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. |
|
|
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. |
|
|
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. Definition at line 226 of file vtkGlyph3D.h. References VTK_INDEXING_BY_SCALAR. |
|
|
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. Definition at line 227 of file vtkGlyph3D.h. References VTK_INDEXING_BY_VECTOR. |
|
|
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. Definition at line 228 of file vtkGlyph3D.h. References VTK_INDEXING_OFF. |
|
|
Return the index mode as a character string. Definition at line 336 of file vtkGlyph3D.h. References IndexMode, VTK_INDEXING_BY_SCALAR, and VTK_INDEXING_OFF. |
|
|
Enable/disable the generation of point ids as part of the output. The point ids are the id of the input generating point. The point ids are stored in the output point field data and named "InputPointIds". Point generation is useful for debugging and pick operations. |
|
|
Enable/disable the generation of point ids as part of the output. The point ids are the id of the input generating point. The point ids are stored in the output point field data and named "InputPointIds". Point generation is useful for debugging and pick operations. |
|
|
Enable/disable the generation of point ids as part of the output. The point ids are the id of the input generating point. The point ids are stored in the output point field data and named "InputPointIds". Point generation is useful for debugging and pick operations. |
|
|
Enable/disable the generation of point ids as part of the output. The point ids are the id of the input generating point. The point ids are stored in the output point field data and named "InputPointIds". Point generation is useful for debugging and pick operations. |
|
|
Set/Get the name of the PointIds array if generated. By default the Ids are named "InputPointIds", but this can be changed with this function. |
|
|
Set/Get the name of the PointIds array if generated. By default the Ids are named "InputPointIds", but this can be changed with this function. |
|
|
This method is the old style execute method Reimplemented from vtkSource. Reimplemented in vtkGlyph2D. |
|
|
Reimplemented from vtkSource. |
|
|
Do not let images return more than requested. Reimplemented from vtkDataSetToPolyDataFilter. |
|
|
|
|
|
|
|
|
|
|
|
Definition at line 258 of file vtkGlyph3D.h. |
|
|
Definition at line 259 of file vtkGlyph3D.h. |
|
|
Definition at line 260 of file vtkGlyph3D.h. |
|
|
Definition at line 261 of file vtkGlyph3D.h. Referenced by GetScaleModeAsString(). |
|
|
Definition at line 262 of file vtkGlyph3D.h. Referenced by GetColorModeAsString(). |
|
|
Definition at line 263 of file vtkGlyph3D.h. |
|
|
Definition at line 264 of file vtkGlyph3D.h. |
|
|
Definition at line 265 of file vtkGlyph3D.h. |
|
|
Definition at line 266 of file vtkGlyph3D.h. Referenced by GetVectorModeAsString(). |
|
|
Definition at line 267 of file vtkGlyph3D.h. |
|
|
Definition at line 268 of file vtkGlyph3D.h. Referenced by GetIndexModeAsString(). |
|
|
Definition at line 269 of file vtkGlyph3D.h. |
|
|
Definition at line 270 of file vtkGlyph3D.h. |
|
|
Definition at line 272 of file vtkGlyph3D.h. |
|
|
Definition at line 273 of file vtkGlyph3D.h. |
|
|
Definition at line 274 of file vtkGlyph3D.h. |