Go to the documentation of this file.
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]);
void SetMaskArray(int fieldAttributeType)
Set the point attribute to use as a mask for generating the glyphs.
void SetScaleModeToScaleByVectorComponents()
void SetSourceConnection(int idx, vtkAlgorithmOutput *algOutput)
Specify a source object at a specified table location.
virtual int RequestUpdateExtent(vtkInformation *request, vtkInformationVector **inInfo, vtkInformationVector *outInfo)
vtkDataArray * GetOrientationArray(vtkDataSet *input)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
const char * GetOrientationModeAsString()
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=0)
Get a pointer to a source object at a specified table location.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
dynamic, self-adjusting array of unsigned char
virtual bool GetSupportsSelection()
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
vtkDataArray * GetSourceIndexArray(vtkDataSet *input)
void SetInputData(vtkDataObject *)
Assign a data object as input.
vtkPolyData * GetSource(int idx, vtkInformationVector *sourceInfo)
abstract superclass for arrays of numeric data
void SetSelectionIdArray(int fieldAttributeType)
Convenience method to set the array used for selection IDs.
void SetSourceData(vtkPolyData *pd)
Set the source to use for he glyph.
virtual void GetBounds(double bounds[6])
Same as superclass.
void SetOrientationArray(const char *orientationarrayname)
Tells the mapper to use an orientation array if Orient is true.
vtkUnsignedCharArray * GetColors(vtkDataSet *input)
void SetScaleModeToScaleByMagnitude()
vtkDataArray * GetSelectionIdArray(vtkDataSet *input)
void SetScaleArray(const char *scalarsarrayname)
Convenience method to set the array to scale with.
void SetScaleModeToNoDataScaling()
void SetScaleArray(int fieldAttributeType)
Convenience method to set the array to scale with.
abstract class specifies interface to map data to graphics primitives
unsigned int SelectionColorId
virtual double * GetBounds()
Redefined to take into account the bounds of the scaled glyphs.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
vtkDataArray * GetScaleArray(vtkDataSet *input)
void SetSelectionIdArray(const char *selectionIdArrayName)
Convenience method to set the array used for selection IDs.
virtual void Render(vtkRenderer *ren, vtkActor *act)
All the work is done is derived classes.
abstract class to specify dataset behavior
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
static vtkGlyph3DMapper * New()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetSourceIndexArray(int fieldAttributeType)
Convenience method to set the array to use as index within the sources.
Proxy object to connect input/output ports.
abstract specification for renderers
void SetOrientationArray(int fieldAttributeType)
Tells the mapper to use an orientation array if Orient is true.
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOrientationModeToRotation()
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
void SetOrientationModeToDirection()
general representation of visualization data
vtkDataArray * GetMaskArray(vtkDataSet *input)
Convenience methods to get each of the arrays.
const char * GetScaleModeAsString()
void SetSourceIndexArray(const char *arrayname)
Convenience method to set the array to use as index within the sources.