31#ifndef vtkGlyph3DMapper_h
32#define vtkGlyph3DMapper_h
34#include "vtkRenderingCoreModule.h"
62 { this->SetSourceConnection(0, algOutput); }
97 vtkGetMacro(Scaling,
bool);
108 vtkGetMacro(ScaleMode,
int);
117 vtkGetMacro(ScaleFactor,
double);
123 SCALE_BY_MAGNITUDE = 1,
124 SCALE_BY_COMPONENTS = 2
128 { this->SetScaleMode(SCALE_BY_MAGNITUDE); }
130 { this->SetScaleMode(SCALE_BY_COMPONENTS); }
132 { this->SetScaleMode(NO_DATA_SCALING); }
139 vtkSetVector2Macro(Range,
double);
140 vtkGetVectorMacro(Range,
double, 2);
150 vtkGetMacro(Orient,
bool);
160 vtkSetClampMacro(OrientationMode,
int, DIRECTION, ROTATION);
161 vtkGetMacro(OrientationMode,
int);
180 vtkGetMacro(Clamping,
bool);
192 vtkGetMacro(SourceIndexing,
bool);
203 vtkGetMacro(UseSelectionIds,
bool);
231 vtkGetMacro(NestedDisplayLists,
bool);
245 vtkGetMacro(Masking,
bool);
370 vtkGetMacro(SelectionColorId,
unsigned int);
436 bool GetBoundsInternal(
vtkDataSet* ds,
double ds_bounds[6]);
represents an object (geometry & properties) in a rendered scene
Proxy object to connect input/output ports.
abstract superclass for arrays of numeric data
general representation of visualization data
abstract class to specify dataset behavior
virtual double * GetBounds()
Redefined to take into account the bounds of the scaled glyphs.
void SetScaleModeToScaleByVectorComponents()
void SetSourceData(vtkPolyData *pd)
Set the source to use for he glyph.
void SetSourceData(int idx, vtkPolyData *pd)
Specify a source object at a specified table location.
void SetMaskArray(const char *maskarrayname)
Set the name of the point array to use as a mask for generating the glyphs.
vtkPolyData * GetSource(int idx, vtkInformationVector *sourceInfo)
vtkDataArray * GetScaleArray(vtkDataSet *input)
void SetSourceConnection(int idx, vtkAlgorithmOutput *algOutput)
Specify a source object at a specified table location.
void SetScaleModeToScaleByMagnitude()
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
void SetScaleArray(int fieldAttributeType)
Convenience method to set the array to scale with.
vtkDataArray * GetSelectionIdArray(vtkDataSet *input)
void SetSourceIndexArray(const char *arrayname)
Convenience method to set the array to use as index within the sources.
vtkDataArray * GetOrientationArray(vtkDataSet *input)
void SetInputData(vtkDataObject *)
Assign a data object as input.
void SetScaleModeToNoDataScaling()
const char * GetScaleModeAsString()
void SetOrientationArray(int fieldAttributeType)
Tells the mapper to use an orientation array if Orient is true.
void SetOrientationArray(const char *orientationarrayname)
Tells the mapper to use an orientation array if Orient is true.
void SetSelectionIdArray(int fieldAttributeType)
Convenience method to set the array used for selection IDs.
unsigned int SelectionColorId
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetOrientationModeToDirection()
vtkUnsignedCharArray * GetColors(vtkDataSet *input)
const char * GetOrientationModeAsString()
vtkDataArray * GetSourceIndexArray(vtkDataSet *input)
virtual void GetBounds(double bounds[6])
Same as superclass.
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
virtual void Render(vtkRenderer *ren, vtkActor *act)
All the work is done is derived classes.
void SetMaskArray(int fieldAttributeType)
Set the point attribute to use as a mask for generating the glyphs.
vtkPolyData * GetSource(int idx=0)
Get a pointer to a source object at a specified table location.
void SetOrientationModeToRotation()
vtkDataArray * GetMaskArray(vtkDataSet *input)
Convenience methods to get each of the arrays.
void SetSelectionIdArray(const char *selectionIdArrayName)
Convenience method to set the array used for selection IDs.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
void SetScaleArray(const char *scalarsarrayname)
Convenience method to set the array to scale with.
void SetSourceIndexArray(int fieldAttributeType)
Convenience method to set the array to use as index within the sources.
static vtkGlyph3DMapper * New()
a simple class to control print indentation
abstract class specifies interface to map data to graphics primitives
concrete dataset represents vertices, lines, polygons, and triangle strips
abstract specification for renderers
dynamic, self-adjusting array of unsigned char
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.