 |
VTK
9.0.1
|
Go to the documentation of this file.
28 #ifndef vtkGlyph3DMapper_h
29 #define vtkGlyph3DMapper_h
33 #include "vtkRenderingCoreModule.h"
63 this->SetSourceConnection(0, algOutput);
112 vtkSetMacro(Scaling,
bool);
113 vtkBooleanMacro(Scaling,
bool);
114 vtkGetMacro(Scaling,
bool);
124 vtkSetMacro(ScaleMode,
int);
125 vtkGetMacro(ScaleMode,
int);
133 vtkSetMacro(ScaleFactor,
double);
134 vtkGetMacro(ScaleFactor,
double);
140 SCALE_BY_MAGNITUDE = 1,
141 SCALE_BY_COMPONENTS = 2
147 const char* GetScaleModeAsString();
153 vtkSetVector2Macro(
Range,
double);
154 vtkGetVectorMacro(
Range,
double, 2);
163 vtkSetMacro(Orient,
bool);
164 vtkGetMacro(Orient,
bool);
165 vtkBooleanMacro(Orient,
bool);
174 vtkSetClampMacro(OrientationMode,
int, DIRECTION, QUATERNION);
175 vtkGetMacro(OrientationMode,
int);
179 const char* GetOrientationModeAsString();
193 vtkSetMacro(Clamping,
bool);
194 vtkGetMacro(Clamping,
bool);
195 vtkBooleanMacro(Clamping,
bool);
205 vtkSetMacro(SourceIndexing,
bool);
206 vtkGetMacro(SourceIndexing,
bool);
207 vtkBooleanMacro(SourceIndexing,
bool);
216 vtkSetMacro(UseSourceTableTree,
bool);
217 vtkGetMacro(UseSourceTableTree,
bool);
218 vtkBooleanMacro(UseSourceTableTree,
bool);
225 vtkSetMacro(UseSelectionIds,
bool);
226 vtkBooleanMacro(UseSelectionIds,
bool);
227 vtkGetMacro(UseSelectionIds,
bool);
238 void GetBounds(
double bounds[6])
override;
254 vtkSetMacro(Masking,
bool);
255 vtkGetMacro(Masking,
bool);
256 vtkBooleanMacro(Masking,
bool);
265 void SetMaskArray(
const char* maskarrayname);
279 void SetMaskArray(
int fieldAttributeType);
296 void SetOrientationArray(
const char* orientationarrayname);
319 void SetOrientationArray(
int fieldAttributeType);
326 void SetScaleArray(
const char* scalarsarrayname);
333 void SetScaleArray(
int fieldAttributeType);
341 void SetSourceIndexArray(
const char* arrayname);
349 void SetSourceIndexArray(
int fieldAttributeType);
360 void SetSelectionIdArray(
const char* selectionIdArrayName);
371 void SetSelectionIdArray(
int fieldAttributeType);
379 vtkSetMacro(SelectionColorId,
unsigned int);
380 vtkGetMacro(SelectionColorId,
unsigned int);
402 vtkSetMacro(CullingAndLOD,
bool);
403 vtkGetMacro(CullingAndLOD,
bool);
431 vtkIdType vtkNotUsed(
index),
float vtkNotUsed(distance),
float vtkNotUsed(targetReduction))
439 vtkSetMacro(LODColoring,
bool);
440 vtkGetMacro(LODColoring,
bool);
455 virtual int RequestUpdateExtent(
492 bool CullingAndLOD =
false;
493 std::vector<std::pair<float, float> >
LODs;
494 bool LODColoring =
false;
503 bool GetBoundsInternal(
vtkDataSet* ds,
double ds_bounds[6]);
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 SetScaleModeToScaleByVectorComponents()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
provides implementation for most abstract methods in the superclass vtkCompositeDataSet
virtual int FillInputPortInformation(int port, vtkInformation *info)
Fill the input port information objects for this algorithm.
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
abstract superclass for arrays of numeric data
vtkCompositeDataDisplayAttributes * BlockAttributes
void SetScaleModeToScaleByMagnitude()
Rendering attributes for a multi-block dataset.
virtual void Render(vtkRenderer *ren, vtkActor *a)=0
Method initiates the mapping process.
void SetScaleModeToNoDataScaling()
void SetOrientationModeToQuaternion()
abstract class specifies interface to map data to graphics primitives
unsigned int SelectionColorId
virtual void SetLODDistanceAndTargetReduction(vtkIdType vtkNotUsed(index), float vtkNotUsed(distance), float vtkNotUsed(targetReduction))
Configure LODs.
represents an object (geometry & properties) in a rendered scene
a simple class to control print indentation
std::vector< std::pair< float, float > > LODs
abstract class to specify dataset behavior
double * GetBounds() override
Return bounding box (array of six doubles) of data expressed as (xmin,xmax, ymin,ymax,...
static vtkAlgorithm * New()
Proxy object to connect input/output ports.
abstract specification for renderers
concrete dataset represents vertices, lines, polygons, and triangle strips
void SetOrientationModeToRotation()
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
void SetOrientationModeToDirection()
general representation of visualization data
virtual void SetNumberOfLOD(vtkIdType vtkNotUsed(nb))
Set the number of LOD.