31 #ifndef vtkGlyph3DMapper_h
32 #define vtkGlyph3DMapper_h
36 #include "vtkRenderingCoreModule.h"
66 this->SetSourceConnection(0, algOutput);
115 vtkSetMacro(Scaling,
bool);
116 vtkBooleanMacro(Scaling,
bool);
117 vtkGetMacro(Scaling,
bool);
127 vtkSetMacro(ScaleMode,
int);
128 vtkGetMacro(ScaleMode,
int);
136 vtkSetMacro(ScaleFactor,
double);
137 vtkGetMacro(ScaleFactor,
double);
143 SCALE_BY_MAGNITUDE = 1,
144 SCALE_BY_COMPONENTS = 2
150 const char* GetScaleModeAsString();
156 vtkSetVector2Macro(
Range,
double);
157 vtkGetVectorMacro(
Range,
double, 2);
166 vtkSetMacro(Orient,
bool);
167 vtkGetMacro(Orient,
bool);
168 vtkBooleanMacro(Orient,
bool);
177 vtkSetClampMacro(OrientationMode,
int, DIRECTION, QUATERNION);
178 vtkGetMacro(OrientationMode,
int);
182 const char* GetOrientationModeAsString();
196 vtkSetMacro(Clamping,
bool);
197 vtkGetMacro(Clamping,
bool);
198 vtkBooleanMacro(Clamping,
bool);
208 vtkSetMacro(SourceIndexing,
bool);
209 vtkGetMacro(SourceIndexing,
bool);
210 vtkBooleanMacro(SourceIndexing,
bool);
219 vtkSetMacro(UseSourceTableTree,
bool);
220 vtkGetMacro(UseSourceTableTree,
bool);
221 vtkBooleanMacro(UseSourceTableTree,
bool);
228 vtkSetMacro(UseSelectionIds,
bool);
229 vtkBooleanMacro(UseSelectionIds,
bool);
230 vtkGetMacro(UseSelectionIds,
bool);
241 void GetBounds(
double bounds[6])
override;
257 vtkSetMacro(Masking,
bool);
258 vtkGetMacro(Masking,
bool);
259 vtkBooleanMacro(Masking,
bool);
268 void SetMaskArray(
const char* maskarrayname);
282 void SetMaskArray(
int fieldAttributeType);
299 void SetOrientationArray(
const char* orientationarrayname);
322 void SetOrientationArray(
int fieldAttributeType);
329 void SetScaleArray(
const char* scalarsarrayname);
336 void SetScaleArray(
int fieldAttributeType);
344 void SetSourceIndexArray(
const char* arrayname);
352 void SetSourceIndexArray(
int fieldAttributeType);
363 void SetSelectionIdArray(
const char* selectionIdArrayName);
374 void SetSelectionIdArray(
int fieldAttributeType);
382 vtkSetMacro(SelectionColorId,
unsigned int);
383 vtkGetMacro(SelectionColorId,
unsigned int);
405 vtkSetMacro(CullingAndLOD,
bool);
406 vtkGetMacro(CullingAndLOD,
bool);
434 vtkIdType vtkNotUsed(
index),
float vtkNotUsed(distance),
float vtkNotUsed(targetReduction))
442 vtkSetMacro(LODColoring,
bool);
443 vtkGetMacro(LODColoring,
bool);
458 virtual int RequestUpdateExtent(
495 bool CullingAndLOD =
false;
496 std::vector<std::pair<float, float>>
LODs;
497 bool LODColoring =
false;
506 bool GetBoundsInternal(
vtkDataSet* ds,
double ds_bounds[6]);
represents an object (geometry & properties) in a rendered scene
provides implementation for most abstract methods in the superclass vtkCompositeDataSet ...
abstract class to specify dataset behavior
Rendering attributes for a multi-block dataset.
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
auto Range(IterablePtr iterable, Options &&...opts) -> typename detail::IterableTraits< typename detail::StripPointers< IterablePtr >::type >::RangeType
Generate an iterable STL proxy object for a VTK container.
void SetOrientationModeToDirection()
Orientation mode indicates if the OrientationArray provides the direction vector for the orientation ...
void SetOrientationModeToRotation()
Orientation mode indicates if the OrientationArray provides the direction vector for the orientation ...
void SetScaleModeToScaleByVectorComponents()
a simple class to control print indentation
abstract superclass for arrays of numeric data
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetNumberOfLOD(vtkIdType vtkNotUsed(nb))
Set the number of LOD.
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
abstract class specifies interface to map data to graphics primitives
bool GetSupportsSelection() override
WARNING: INTERNAL METHOD - NOT INTENDED FOR GENERAL USE DO NOT USE THIS METHOD OUTSIDE OF THE RENDERI...
dynamic, self-adjusting array of unsigned char
vtkCompositeDataDisplayAttributes * BlockAttributes
void SetScaleModeToNoDataScaling()
void SetScaleModeToScaleByMagnitude()
static vtkAlgorithm * New()
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax, zmin,zmax).
unsigned int SelectionColorId
void SetOrientationModeToQuaternion()
Orientation mode indicates if the OrientationArray provides the direction vector for the orientation ...
virtual void SetLODDistanceAndTargetReduction(vtkIdType vtkNotUsed(index), float vtkNotUsed(distance), float vtkNotUsed(targetReduction))
Configure LODs.
general representation of visualization data
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
std::vector< std::pair< float, float > > LODs