83#ifndef vtkTensorGlyphColor_h
84#define vtkTensorGlyphColor_h
86#include "vtkFiltersCoreModule.h"
87#include "vtkPolyDataAlgorithm.h"
93 void PrintSelf(ostream& os, vtkIndent indent) override;
109 void SetSourceData(vtkPolyData *source);
110 vtkPolyData *GetSource();
119 void SetSourceConnection(
int id, vtkAlgorithmOutput* algOutput);
120 void SetSourceConnection(vtkAlgorithmOutput* algOutput)
122 this->SetSourceConnection(0, algOutput);
211 {this->SetColorMode(COLOR_BY_SCALARS);};
213 {this->SetColorMode(COLOR_BY_EIGENVALUES);};
242 int RequestUpdateExtent(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
243 int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override;
244 int FillInputPortInformation(
int port, vtkInformation *info)
override;
scale and orient glyph(s) according to eigenvalues and eigenvectors of symmetrical part of tensor
vtkGetMacro(Length, double)
vtkGetMacro(ColorMode, int)
vtkGetMacro(Scaling, vtkTypeBool)
~vtkTensorGlyphColor() override
vtkSetMacro(ClampScaling, vtkTypeBool)
void SetColorModeToEigenvalues()
vtkSetMacro(MaxScaleFactor, double)
vtkGetMacro(MaxScaleFactor, double)
vtkSetMacro(ScaleFactor, double)
vtkSetMacro(Length, double)
vtkSetMacro(ColorGlyphs, vtkTypeBool)
vtkBooleanMacro(ThreeGlyphs, vtkTypeBool)
vtkBooleanMacro(ExtractEigenvalues, vtkTypeBool)
vtkSetMacro(ThreeGlyphs, vtkTypeBool)
vtkBooleanMacro(Symmetric, vtkTypeBool)
vtkBooleanMacro(Scaling, vtkTypeBool)
vtkGetMacro(ThreeGlyphs, vtkTypeBool)
vtkGetMacro(ExtractEigenvalues, vtkTypeBool)
vtkGetMacro(Symmetric, vtkTypeBool)
void SetColorModeToScalars()
vtkGetMacro(ScaleFactor, double)
vtkBooleanMacro(ClampScaling, vtkTypeBool)
vtkSetMacro(Symmetric, vtkTypeBool)
vtkTypeMacro(vtkTensorGlyphColor, vtkPolyDataAlgorithm) void PrintSelf(ostream &os
vtkSetMacro(Scaling, vtkTypeBool)
vtkBooleanMacro(ColorGlyphs, vtkTypeBool)
vtkSetClampMacro(ColorMode, int, COLOR_BY_SCALARS, COLOR_BY_EIGENVALUES)
vtkGetMacro(ColorGlyphs, vtkTypeBool)
vtkSetMacro(ExtractEigenvalues, vtkTypeBool)
vtkTypeBool ExtractEigenvalues
vtkGetMacro(ClampScaling, vtkTypeBool)