19 #ifndef vtkGlyph3DMapper_h
20 #define vtkGlyph3DMapper_h
24 #include "vtkRenderingCoreModule.h"
27 VTK_ABI_NAMESPACE_BEGIN
55 this->SetSourceConnection(0, algOutput);
104 vtkSetMacro(Scaling,
bool);
105 vtkBooleanMacro(Scaling,
bool);
106 vtkGetMacro(Scaling,
bool);
116 vtkSetMacro(ScaleMode,
int);
117 vtkGetMacro(ScaleMode,
int);
125 vtkSetMacro(ScaleFactor,
double);
126 vtkGetMacro(ScaleFactor,
double);
132 SCALE_BY_MAGNITUDE = 1,
133 SCALE_BY_COMPONENTS = 2
139 const char* GetScaleModeAsString();
145 vtkSetVector2Macro(
Range,
double);
146 vtkGetVectorMacro(
Range,
double, 2);
155 vtkSetMacro(Orient,
bool);
156 vtkGetMacro(Orient,
bool);
157 vtkBooleanMacro(Orient,
bool);
166 vtkSetClampMacro(OrientationMode,
int, DIRECTION, QUATERNION);
167 vtkGetMacro(OrientationMode,
int);
171 const char* GetOrientationModeAsString();
185 vtkSetMacro(Clamping,
bool);
186 vtkGetMacro(Clamping,
bool);
187 vtkBooleanMacro(Clamping,
bool);
197 vtkSetMacro(SourceIndexing,
bool);
198 vtkGetMacro(SourceIndexing,
bool);
199 vtkBooleanMacro(SourceIndexing,
bool);
208 vtkSetMacro(UseSourceTableTree,
bool);
209 vtkGetMacro(UseSourceTableTree,
bool);
210 vtkBooleanMacro(UseSourceTableTree,
bool);
217 vtkSetMacro(UseSelectionIds,
bool);
218 vtkBooleanMacro(UseSelectionIds,
bool);
219 vtkGetMacro(UseSelectionIds,
bool);
230 void GetBounds(
double bounds[6])
override;
246 vtkSetMacro(Masking,
bool);
247 vtkGetMacro(Masking,
bool);
248 vtkBooleanMacro(Masking,
bool);
257 void SetMaskArray(
const char* maskarrayname);
271 void SetMaskArray(
int fieldAttributeType);
288 void SetOrientationArray(
const char* orientationarrayname);
311 void SetOrientationArray(
int fieldAttributeType);
318 void SetScaleArray(
const char* scalarsarrayname);
325 void SetScaleArray(
int fieldAttributeType);
333 void SetSourceIndexArray(
const char* arrayname);
341 void SetSourceIndexArray(
int fieldAttributeType);
352 void SetSelectionIdArray(
const char* selectionIdArrayName);
363 void SetSelectionIdArray(
int fieldAttributeType);
371 vtkSetMacro(SelectionColorId,
unsigned int);
372 vtkGetMacro(SelectionColorId,
unsigned int);
394 vtkSetMacro(CullingAndLOD,
bool);
395 vtkGetMacro(CullingAndLOD,
bool);
423 vtkIdType vtkNotUsed(
index),
float vtkNotUsed(distance),
float vtkNotUsed(targetReduction))
431 vtkSetMacro(LODColoring,
bool);
432 vtkGetMacro(LODColoring,
bool);
447 virtual int RequestUpdateExtent(
484 bool CullingAndLOD =
false;
485 std::vector<std::pair<float, float>>
LODs;
486 bool LODColoring =
false;
495 bool GetBoundsInternal(
vtkDataSet* ds,
double ds_bounds[6]);
498 VTK_ABI_NAMESPACE_END
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