myBaseGlyph = vtkGlyph3D::New();
myBaseGlyph->SetInput(myFaceMaskPoints->GetOutput());
myBaseGlyph->SetVectorModeToUseVector();
+ myBaseGlyph->SetScaleModeToDataScalingOff();
+ myBaseGlyph->SetColorModeToColorByScalar();
myBaseGlyph->SetSource(my3dVectors ? myArrowPolyData : myGlyphSource->GetOutput());
}
myFacePolyData->SetPolys(aFaces);
aFaces->Delete();
+ myFacePolyData->GetCellData()->SetScalars(0);
myFacePolyData->GetCellData()->SetVectors(aVectors);
aVectors->Delete();