Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
vtkTensorGlyphColor.cxx File Reference
#include "vtkTensorGlyphColor.h"
#include <vtkCell.h>
#include <vtkCellArray.h>
#include <vtkDataSet.h>
#include <vtkDoubleArray.h>
#include <vtkExecutive.h>
#include <vtkFloatArray.h>
#include <vtkInformation.h>
#include <vtkInformationVector.h>
#include <vtkMath.h>
#include <vtkObjectFactory.h>
#include <vtkPointData.h>
#include <vtkPolyData.h>
#include <vtkStreamingDemandDrivenPipeline.h>
#include <vtkTransform.h>

Go to the source code of this file.

Functions

 vtkStandardNewMacro (vtkTensorGlyphColor) vtkTensorGlyphColor
 

Function Documentation

◆ vtkStandardNewMacro()

vtkStandardNewMacro ( vtkTensorGlyphColor )

Definition at line 32 of file vtkTensorGlyphColor.cxx.

38{
39 this->Scaling = 1;
40 this->ScaleFactor = 1.0;
41 this->ExtractEigenvalues = 1;
42 this->ColorGlyphs = 1;
43 this->ColorMode = COLOR_BY_SCALARS;
44 this->ClampScaling = 0;
45 this->MaxScaleFactor = 100;
46 this->ThreeGlyphs = 0;
47 this->Symmetric = 0;
48 this->Length = 1.0;
49
50 this->SetNumberOfInputPorts(2);
51
52 // by default, process active point tensors
53 this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS,
54 vtkDataSetAttributes::TENSORS);
55
56 // by default, process active point scalars
57 this->SetInputArrayToProcess(1, 0, 0, vtkDataObject::FIELD_ASSOCIATION_POINTS,
58 vtkDataSetAttributes::SCALARS);
59}