81 #ifndef __vtkTensorGlyph_h
82 #define __vtkTensorGlyph_h
111 this->SetSourceConnection(0, algOutput);
117 vtkSetMacro(Scaling,
int);
118 vtkGetMacro(Scaling,
int);
119 vtkBooleanMacro(Scaling,
int);
125 vtkSetMacro(ScaleFactor,
double);
126 vtkGetMacro(ScaleFactor,
double);
131 vtkSetMacro(ThreeGlyphs,
int);
132 vtkGetMacro(ThreeGlyphs,
int);
133 vtkBooleanMacro(ThreeGlyphs,
int);
138 vtkSetMacro(Symmetric,
int);
139 vtkGetMacro(Symmetric,
int);
140 vtkBooleanMacro(Symmetric,
int);
146 vtkSetMacro(Length,
double);
147 vtkGetMacro(Length,
double);
152 vtkSetMacro(ExtractEigenvalues,
int);
153 vtkBooleanMacro(ExtractEigenvalues,
int);
154 vtkGetMacro(ExtractEigenvalues,
int);
161 vtkSetMacro(ColorGlyphs,
int);
162 vtkGetMacro(ColorGlyphs,
int);
163 vtkBooleanMacro(ColorGlyphs,
int);
182 vtkSetClampMacro(ColorMode,
int, COLOR_BY_SCALARS, COLOR_BY_EIGENVALUES);
183 vtkGetMacro(ColorMode,
int);
185 {this->SetColorMode(COLOR_BY_SCALARS);};
187 {this->SetColorMode(COLOR_BY_EIGENVALUES);};
194 vtkSetMacro(ClampScaling,
int);
195 vtkGetMacro(ClampScaling,
int);
196 vtkBooleanMacro(ClampScaling,
int);
204 vtkSetMacro(MaxScaleFactor,
double);
205 vtkGetMacro(MaxScaleFactor,
double);
virtual int FillInputPortInformation(int port, vtkInformation *info)
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
concrete dataset represents vertices, lines, polygons, and triangle strips
Proxy object to connect input/output ports.
void SetColorModeToScalars()
static vtkPolyDataAlgorithm * New()
void PrintSelf(ostream &os, vtkIndent indent)
virtual int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
void SetSourceConnection(vtkAlgorithmOutput *algOutput)
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)
void SetColorModeToEigenvalues()
scale and orient glyph(s) according to tensor eigenvalues and eigenvectors