30 #ifndef __vtkGlyph3DMapper_h
31 #define __vtkGlyph3DMapper_h
33 #include "vtkRenderingCoreModule.h"
62 this->SetSourceConnection(0, algOutput);
85 vtkSetMacro(Scaling,
bool);
86 vtkBooleanMacro(Scaling,
bool);
87 vtkGetMacro(Scaling,
bool);
95 vtkSetMacro(ScaleMode,
int);
96 vtkGetMacro(ScaleMode,
int);
102 vtkSetMacro(ScaleFactor,
double);
103 vtkGetMacro(ScaleFactor,
double);
110 SCALE_BY_MAGNITUDE = 1,
111 SCALE_BY_COMPONENTS = 2
114 void SetScaleModeToScaleByMagnitude()
115 { this->SetScaleMode(SCALE_BY_MAGNITUDE); }
116 void SetScaleModeToScaleByVectorComponents()
117 { this->SetScaleMode(SCALE_BY_COMPONENTS); }
118 void SetScaleModeToNoDataScaling()
119 { this->SetScaleMode(NO_DATA_SCALING); }
120 const char *GetScaleModeAsString();
124 vtkSetVector2Macro(Range,
double);
125 vtkGetVectorMacro(Range,
double,2);
131 vtkSetMacro(Orient,
bool);
132 vtkGetMacro(Orient,
bool);
133 vtkBooleanMacro(Orient,
bool);
140 vtkSetClampMacro(OrientationMode,
int, DIRECTION, ROTATION);
141 vtkGetMacro(OrientationMode,
int);
142 void SetOrientationModeToDirection()
144 void SetOrientationModeToRotation()
146 const char* GetOrientationModeAsString();
159 vtkSetMacro(Clamping,
bool);
160 vtkGetMacro(Clamping,
bool);
161 vtkBooleanMacro(Clamping,
bool);
170 vtkSetMacro(SourceIndexing,
bool);
171 vtkGetMacro(SourceIndexing,
bool);
172 vtkBooleanMacro(SourceIndexing,
bool);
178 vtkSetMacro(UseSelectionIds,
bool);
179 vtkBooleanMacro(UseSelectionIds,
bool);
180 vtkGetMacro(UseSelectionIds,
bool);
188 virtual void GetBounds(
double bounds[6]);
199 vtkSetMacro(NestedDisplayLists,
bool);
200 vtkGetMacro(NestedDisplayLists,
bool);
201 vtkBooleanMacro(NestedDisplayLists,
bool);
210 vtkSetMacro(Masking,
bool);
211 vtkGetMacro(Masking,
bool);
212 vtkBooleanMacro(Masking,
bool);
219 void SetMaskArray(
const char* maskarrayname);
229 void SetMaskArray(
int fieldAttributeType);
244 void SetOrientationArray(
const char* orientationarrayname);
262 void SetOrientationArray(
int fieldAttributeType);
267 void SetScaleArray(
const char* scalarsarrayname);
272 void SetScaleArray(
int fieldAttributeType);
278 void SetSourceIndexArray(
const char* arrayname);
284 void SetSourceIndexArray(
int fieldAttributeType);
291 void SetSelectionIdArray(
const char* selectionIdArrayName);
298 void SetSelectionIdArray(
int fieldAttributeType);
304 vtkSetMacro(SelectionColorId,
unsigned int);
305 vtkGetMacro(SelectionColorId,
unsigned int);
310 vtkSetMacro(SelectMode,
int);
367 bool GetBoundsInternal(
vtkDataSet* ds,
double ds_bounds[6]);