#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.
You can set what arrays to use for the scalars, vectors, normals, and color scalars by using the SetInputArrayToProcess methods in vtkAlgorithm. The first array is scalars, the next vectors, the next normals and finally color scalars.
Definition at line 107 of file vtkGlyph3D.h.
|
Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkGlyph2D. Definition at line 110 of file vtkGlyph3D.h. |
|
|
|
|
|
Reimplemented from vtkPolyDataAlgorithm. 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 vtkPolyDataAlgorithm. 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 vtkPolyDataAlgorithm. Reimplemented in vtkGlyph2D. |
|
Reimplemented from vtkPolyDataAlgorithm. 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 vtkPolyDataAlgorithm. 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 vtkPolyDataAlgorithm. Reimplemented in vtkGlyph2D. |
|
Set the source to use for he glyph. Old style. See SetSourceConnection. Definition at line 121 of file vtkGlyph3D.h. |
|
Specify a source object at a specified table location. Old style. See SetSourceConnection. |
|
Specify a source object at a specified table location. New style. Source connection is stored in port 1. This method is equivalent to SetInputConnection(1, id, outputPort). |
|
Specify a source object at a specified table location. Old style. See SetSourceConnection. Definition at line 132 of file vtkGlyph3D.h. |
|
Get a pointer to a source object at a specified table location. |
|
Turn on/off scaling of source geometry. |
|
Get a pointer to a source object at a specified table location. |
|
Get a pointer to a source object at a specified table location. |
|
Get a pointer to a source object at a specified table location. |
|
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 152 of file vtkGlyph3D.h. References VTK_SCALE_BY_SCALAR. |
|
Either scale by scalar or by vector/normal magnitude. Definition at line 154 of file vtkGlyph3D.h. References VTK_SCALE_BY_VECTOR. |
|
Either scale by scalar or by vector/normal magnitude. Definition at line 156 of file vtkGlyph3D.h. References VTK_SCALE_BY_VECTORCOMPONENTS. |
|
Either scale by scalar or by vector/normal magnitude. Definition at line 158 of file vtkGlyph3D.h. References VTK_DATA_SCALING_OFF. |
|
Return the method of scaling as a descriptive character string. Definition at line 280 of file vtkGlyph3D.h. References 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 167 of file vtkGlyph3D.h. References VTK_COLOR_BY_SCALE. |
|
Either color by scale, scalar or by vector/normal magnitude. Definition at line 169 of file vtkGlyph3D.h. References VTK_COLOR_BY_SCALAR. |
|
Either color by scale, scalar or by vector/normal magnitude. Definition at line 171 of file vtkGlyph3D.h. References VTK_COLOR_BY_VECTOR. |
|
Return the method of coloring as a descriptive character string. Definition at line 297 of file vtkGlyph3D.h. References 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 207 of file vtkGlyph3D.h. References VTK_USE_VECTOR. |
|
Specify whether to use vector or normal to perform vector operations. Definition at line 208 of file vtkGlyph3D.h. References VTK_USE_NORMAL. |
|
Specify whether to use vector or normal to perform vector operations. Definition at line 209 of file vtkGlyph3D.h. References VTK_VECTOR_ROTATION_OFF. |
|
Return the vector mode as a character string. Definition at line 314 of file vtkGlyph3D.h. References 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. Note that indexing mode will only use the InputScalarsSelection array and not the InputColorScalarsSelection as the scalar source if an array is specified. |
|
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. Note that indexing mode will only use the InputScalarsSelection array and not the InputColorScalarsSelection as the scalar source if an array is specified. |
|
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. Note that indexing mode will only use the InputScalarsSelection array and not the InputColorScalarsSelection as the scalar source if an array is specified. Definition at line 223 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. Note that indexing mode will only use the InputScalarsSelection array and not the InputColorScalarsSelection as the scalar source if an array is specified. Definition at line 224 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. Note that indexing mode will only use the InputScalarsSelection array and not the InputColorScalarsSelection as the scalar source if an array is specified. Definition at line 225 of file vtkGlyph3D.h. References VTK_INDEXING_OFF. |
|
Return the index mode as a character string. Definition at line 331 of file vtkGlyph3D.h. References 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 can be overwritten by subclass to return 0 when a point is blanked. Default implementation is to always return 1; Definition at line 249 of file vtkGlyph3D.h. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. Reimplemented in vtkGlyph2D. |
|
This is called by the superclass. This is the method you should override. Reimplemented from vtkPolyDataAlgorithm. |
|
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle. Reimplemented from vtkPolyDataAlgorithm. |
|
|
|
Definition at line 261 of file vtkGlyph3D.h. |
|
Definition at line 262 of file vtkGlyph3D.h. |
|
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. |
|
Definition at line 267 of file vtkGlyph3D.h. |
|
Definition at line 268 of file vtkGlyph3D.h. |
|
Definition at line 269 of file vtkGlyph3D.h. |
|
Definition at line 270 of file vtkGlyph3D.h. |
|
Definition at line 271 of file vtkGlyph3D.h. |
|
Definition at line 272 of file vtkGlyph3D.h. |