VTK
|
copy oriented and scaled glyph geometry to every input point More...
#include <vtkGenericGlyph3DFilter.h>
Inherits vtkPolyDataAlgorithm.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkGenericGlyph3DFilter * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetSourceData (vtkPolyData *pd) |
void | SetSourceData (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 (double) |
virtual double | GetScaleFactor () |
virtual void | SetRange (double, double) |
void | SetRange (double[2]) |
virtual double * | GetRange () |
virtual void | GetRange (double 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 () |
virtual void | SetGeneratePointIds (int) |
virtual int | GetGeneratePointIds () |
virtual void | GeneratePointIdsOn () |
virtual void | GeneratePointIdsOff () |
virtual void | SetPointIdsName (const char *) |
virtual char * | GetPointIdsName () |
virtual char * | GetInputScalarsSelection () |
void | SelectInputScalars (const char *fieldName) |
virtual char * | GetInputVectorsSelection () |
void | SelectInputVectors (const char *fieldName) |
virtual char * | GetInputNormalsSelection () |
void | SelectInputNormals (const char *fieldName) |
Static Public Member Functions | |
static int | IsTypeOf (const char *type) |
static vtkGenericGlyph3DFilter * | SafeDownCast (vtkObjectBase *o) |
static vtkGenericGlyph3DFilter * | New () |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGenericGlyph3DFilter () | |
~vtkGenericGlyph3DFilter () | |
int | FillInputPortInformation (int, vtkInformation *) |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestInformation (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
int | RequestUpdateExtent (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
virtual void | SetInputScalarsSelection (const char *) |
virtual void | SetInputVectorsSelection (const char *) |
virtual void | SetInputNormalsSelection (const char *) |
Protected Attributes | |
vtkPolyData ** | Source |
int | Scaling |
int | ScaleMode |
int | ColorMode |
double | ScaleFactor |
double | Range [2] |
int | Orient |
int | VectorMode |
int | Clamping |
int | IndexMode |
int | GeneratePointIds |
char * | PointIdsName |
char * | InputScalarsSelection |
char * | InputVectorsSelection |
char * | InputNormalsSelection |
copy oriented and scaled glyph geometry to every input point
vtkGenericGlyph3DFilter 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.
Definition at line 104 of file vtkGenericGlyph3DFilter.h.
typedef vtkPolyDataAlgorithm vtkGenericGlyph3DFilter::Superclass |
Definition at line 107 of file vtkGenericGlyph3DFilter.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
protectedvirtual |
vtkGenericGlyph3DFilter* vtkGenericGlyph3DFilter::NewInstance | ( | ) | const |
void vtkGenericGlyph3DFilter::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
static |
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.
|
inline |
Set the source to use for the glyph.
Definition at line 117 of file vtkGenericGlyph3DFilter.h.
void vtkGenericGlyph3DFilter::SetSourceData | ( | int | id, |
vtkPolyData * | pd | ||
) |
Specify a source object at a specified table location.
vtkPolyData* vtkGenericGlyph3DFilter::GetSource | ( | int | id = 0 | ) |
Get a pointer to a source object at a specified table location.
|
virtual |
Turn on/off scaling of source geometry.
|
virtual |
Turn on/off scaling of source geometry.
|
virtual |
Turn on/off scaling of source geometry.
|
virtual |
Turn on/off scaling of source geometry.
|
virtual |
Either scale by scalar or by vector/normal magnitude.
|
virtual |
Either scale by scalar or by vector/normal magnitude.
|
inline |
Either scale by scalar or by vector/normal magnitude.
Definition at line 136 of file vtkGenericGlyph3DFilter.h.
|
inline |
Either scale by scalar or by vector/normal magnitude.
Definition at line 138 of file vtkGenericGlyph3DFilter.h.
|
inline |
Either scale by scalar or by vector/normal magnitude.
Definition at line 140 of file vtkGenericGlyph3DFilter.h.
|
inline |
Either scale by scalar or by vector/normal magnitude.
Definition at line 142 of file vtkGenericGlyph3DFilter.h.
|
inline |
Return the method of scaling as a descriptive character string.
Definition at line 291 of file vtkGenericGlyph3DFilter.h.
|
virtual |
Either color by scale, scalar or by vector/normal magnitude.
|
virtual |
Either color by scale, scalar or by vector/normal magnitude.
|
inline |
Either color by scale, scalar or by vector/normal magnitude.
Definition at line 151 of file vtkGenericGlyph3DFilter.h.
|
inline |
Either color by scale, scalar or by vector/normal magnitude.
Definition at line 153 of file vtkGenericGlyph3DFilter.h.
|
inline |
Either color by scale, scalar or by vector/normal magnitude.
Definition at line 155 of file vtkGenericGlyph3DFilter.h.
|
inline |
Return the method of coloring as a descriptive character string.
Definition at line 310 of file vtkGenericGlyph3DFilter.h.
|
virtual |
Specify scale factor to scale object by.
|
virtual |
Specify scale factor to scale object by.
|
virtual |
Specify range to map scalar values into.
void vtkGenericGlyph3DFilter::SetRange | ( | double | [2] | ) |
Specify range to map scalar values into.
|
virtual |
Specify range to map scalar values into.
|
virtual |
Specify range to map scalar values into.
|
virtual |
Turn on/off orienting of input geometry along vector/normal.
|
virtual |
Turn on/off orienting of input geometry along vector/normal.
|
virtual |
Turn on/off orienting of input geometry along vector/normal.
|
virtual |
Turn on/off orienting of input geometry along vector/normal.
|
virtual |
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.)
|
virtual |
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.)
|
virtual |
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.)
|
virtual |
Turn on/off clamping of "scalar" values to range. (Scalar value may be vector magnitude if ScaleByVector() is enabled.)
|
virtual |
Specify whether to use vector or normal to perform vector operations.
|
virtual |
Specify whether to use vector or normal to perform vector operations.
|
inline |
Specify whether to use vector or normal to perform vector operations.
Definition at line 191 of file vtkGenericGlyph3DFilter.h.
|
inline |
Specify whether to use vector or normal to perform vector operations.
Definition at line 192 of file vtkGenericGlyph3DFilter.h.
|
inline |
Specify whether to use vector or normal to perform vector operations.
Definition at line 193 of file vtkGenericGlyph3DFilter.h.
|
inline |
Return the vector mode as a character string.
Definition at line 329 of file vtkGenericGlyph3DFilter.h.
|
virtual |
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.
|
virtual |
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.
|
inline |
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 204 of file vtkGenericGlyph3DFilter.h.
|
inline |
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 205 of file vtkGenericGlyph3DFilter.h.
|
inline |
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 206 of file vtkGenericGlyph3DFilter.h.
|
inline |
Return the index mode as a character string.
Definition at line 348 of file vtkGenericGlyph3DFilter.h.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
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.
|
virtual |
If you want to use an arbitrary scalars array, then set its name here. By default this in NULL and the filter will use the active scalar array.
|
inline |
If you want to use an arbitrary scalars array, then set its name here. By default this in NULL and the filter will use the active scalar array.
Definition at line 233 of file vtkGenericGlyph3DFilter.h.
|
virtual |
If you want to use an arbitrary vectors array, then set its name here. By default this in NULL and the filter will use the active vector array.
|
inline |
If you want to use an arbitrary vectors array, then set its name here. By default this in NULL and the filter will use the active vector array.
Definition at line 242 of file vtkGenericGlyph3DFilter.h.
|
virtual |
If you want to use an arbitrary normals array, then set its name here. By default this in NULL and the filter will use the active normal array.
|
inline |
If you want to use an arbitrary normals array, then set its name here. By default this in NULL and the filter will use the active normal array.
Definition at line 251 of file vtkGenericGlyph3DFilter.h.
|
protected |
|
protected |
|
protected |
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 264 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 265 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 266 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 267 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 268 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 269 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 270 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 271 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 272 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 273 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 274 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 275 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 277 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 278 of file vtkGenericGlyph3DFilter.h.
|
protected |
Definition at line 279 of file vtkGenericGlyph3DFilter.h.