31 #ifndef vtkGlyph3DMapper_h 32 #define vtkGlyph3DMapper_h 34 #include "vtkRenderingCoreModule.h" 65 { this->SetSourceConnection(0, algOutput); }
113 vtkSetMacro(Scaling,
bool);
114 vtkBooleanMacro(Scaling,
bool);
115 vtkGetMacro(Scaling,
bool);
125 vtkSetMacro(ScaleMode,
int);
126 vtkGetMacro(ScaleMode,
int);
134 vtkSetMacro(ScaleFactor,
double);
135 vtkGetMacro(ScaleFactor,
double);
141 SCALE_BY_MAGNITUDE = 1,
142 SCALE_BY_COMPONENTS = 2
146 { this->SetScaleMode(SCALE_BY_MAGNITUDE); }
148 { this->SetScaleMode(SCALE_BY_COMPONENTS); }
150 { this->SetScaleMode(NO_DATA_SCALING); }
151 const char *GetScaleModeAsString();
157 vtkSetVector2Macro(Range,
double);
158 vtkGetVectorMacro(Range,
double, 2);
167 vtkSetMacro(Orient,
bool);
168 vtkGetMacro(Orient,
bool);
169 vtkBooleanMacro(Orient,
bool);
178 vtkSetClampMacro(OrientationMode,
int, DIRECTION, QUATERNION);
179 vtkGetMacro(OrientationMode,
int);
186 const char* GetOrientationModeAsString();
200 vtkSetMacro(Clamping,
bool);
201 vtkGetMacro(Clamping,
bool);
202 vtkBooleanMacro(Clamping,
bool);
212 vtkSetMacro(SourceIndexing,
bool);
213 vtkGetMacro(SourceIndexing,
bool);
214 vtkBooleanMacro(SourceIndexing,
bool);
223 vtkSetMacro(UseSourceTableTree,
bool)
224 vtkGetMacro(UseSourceTableTree,
bool)
225 vtkBooleanMacro(UseSourceTableTree,
bool)
232 vtkSetMacro(UseSelectionIds,
bool);
233 vtkBooleanMacro(UseSelectionIds,
bool);
234 vtkGetMacro(UseSelectionIds,
bool);
240 double *GetBounds() override;
245 void GetBounds(
double bounds[6]) override;
261 vtkSetMacro(Masking,
bool);
262 vtkGetMacro(Masking,
bool);
263 vtkBooleanMacro(Masking,
bool);
272 void SetMaskArray(const
char* maskarrayname);
286 void SetMaskArray(
int fieldAttributeType);
303 void SetOrientationArray(const
char* orientationarrayname);
326 void SetOrientationArray(
int fieldAttributeType);
333 void SetScaleArray(const
char* scalarsarrayname);
340 void SetScaleArray(
int fieldAttributeType);
348 void SetSourceIndexArray(const
char* arrayname);
356 void SetSourceIndexArray(
int fieldAttributeType);
367 void SetSelectionIdArray(const
char* selectionIdArrayName);
378 void SetSelectionIdArray(
int fieldAttributeType);
386 vtkSetMacro(SelectionColorId,
unsigned int);
387 vtkGetMacro(SelectionColorId,
unsigned int);
409 vtkSetMacro(CullingAndLOD,
bool);
410 vtkGetMacro(CullingAndLOD,
bool);
425 virtual
void SetNumberOfLOD(
vtkIdType vtkNotUsed(nb)) {}
439 float vtkNotUsed(distance),
440 float vtkNotUsed(targetReduction)) {}
446 vtkSetMacro(LODColoring,
bool);
447 vtkGetMacro(LODColoring,
bool);
501 bool CullingAndLOD =
false;
502 std::vector<std::pair<float, float> >
LODs;
503 bool LODColoring =
false;
512 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.
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 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()
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
std::vector< std::pair< float, float > > LODs