28 #ifndef vtkGlyph3DMapper_h 29 #define vtkGlyph3DMapper_h 31 #include "vtkRenderingCoreModule.h" 62 { this->SetSourceConnection(0, algOutput); }
110 vtkSetMacro(Scaling,
bool);
111 vtkBooleanMacro(Scaling,
bool);
112 vtkGetMacro(Scaling,
bool);
122 vtkSetMacro(ScaleMode,
int);
123 vtkGetMacro(ScaleMode,
int);
131 vtkSetMacro(ScaleFactor,
double);
132 vtkGetMacro(ScaleFactor,
double);
138 SCALE_BY_MAGNITUDE = 1,
139 SCALE_BY_COMPONENTS = 2
143 { this->SetScaleMode(SCALE_BY_MAGNITUDE); }
145 { this->SetScaleMode(SCALE_BY_COMPONENTS); }
147 { this->SetScaleMode(NO_DATA_SCALING); }
148 const char *GetScaleModeAsString();
154 vtkSetVector2Macro(Range,
double);
155 vtkGetVectorMacro(Range,
double, 2);
164 vtkSetMacro(Orient,
bool);
165 vtkGetMacro(Orient,
bool);
166 vtkBooleanMacro(Orient,
bool);
175 vtkSetClampMacro(OrientationMode,
int, DIRECTION, QUATERNION);
176 vtkGetMacro(OrientationMode,
int);
183 const char* GetOrientationModeAsString();
197 vtkSetMacro(Clamping,
bool);
198 vtkGetMacro(Clamping,
bool);
199 vtkBooleanMacro(Clamping,
bool);
209 vtkSetMacro(SourceIndexing,
bool);
210 vtkGetMacro(SourceIndexing,
bool);
211 vtkBooleanMacro(SourceIndexing,
bool);
220 vtkSetMacro(UseSourceTableTree,
bool)
221 vtkGetMacro(UseSourceTableTree,
bool)
222 vtkBooleanMacro(UseSourceTableTree,
bool)
229 vtkSetMacro(UseSelectionIds,
bool);
230 vtkBooleanMacro(UseSelectionIds,
bool);
231 vtkGetMacro(UseSelectionIds,
bool);
242 void GetBounds(
double bounds[6])
override;
258 vtkSetMacro(Masking,
bool);
259 vtkGetMacro(Masking,
bool);
260 vtkBooleanMacro(Masking,
bool);
269 void SetMaskArray(
const char* maskarrayname);
283 void SetMaskArray(
int fieldAttributeType);
300 void SetOrientationArray(
const char* orientationarrayname);
323 void SetOrientationArray(
int fieldAttributeType);
330 void SetScaleArray(
const char* scalarsarrayname);
337 void SetScaleArray(
int fieldAttributeType);
345 void SetSourceIndexArray(
const char* arrayname);
353 void SetSourceIndexArray(
int fieldAttributeType);
364 void SetSelectionIdArray(
const char* selectionIdArrayName);
375 void SetSelectionIdArray(
int fieldAttributeType);
383 vtkSetMacro(SelectionColorId,
unsigned int);
384 vtkGetMacro(SelectionColorId,
unsigned int);
406 vtkSetMacro(CullingAndLOD,
bool);
407 vtkGetMacro(CullingAndLOD,
bool);
436 float vtkNotUsed(distance),
437 float vtkNotUsed(targetReduction)) {}
443 vtkSetMacro(LODColoring,
bool);
444 vtkGetMacro(LODColoring,
bool);
498 bool CullingAndLOD =
false;
499 std::vector<std::pair<float, float> >
LODs;
500 bool LODColoring =
false;
509 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 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