MCPcopy Create free account
hub / github.com/Kitware/VTK / InitializePlotMapper

Method InitializePlotMapper

Views/Infovis/vtkParallelCoordinatesRepresentation.cxx:1930–1945  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1928
1929//------------------------------------------------------------------------------
1930vtkPolyDataMapper2D* vtkParallelCoordinatesRepresentation::InitializePlotMapper(
1931 vtkPolyData* input, vtkActor2D* actor, bool vtkNotUsed(forceStandard))
1932{
1933 vtkPolyDataMapper2D* mapper = vtkPolyDataMapper2D::New();
1934
1935 // this tells all the mappers to use the normalized viewport coordinate system
1936 vtkSmartPointer<vtkCoordinate> dummyCoord = vtkSmartPointer<vtkCoordinate>::New();
1937 dummyCoord->SetCoordinateSystemToNormalizedViewport();
1938
1939 mapper->SetInputData(input);
1940 mapper->SetTransformCoordinate(dummyCoord);
1941 mapper->ScalarVisibilityOff();
1942 actor->SetMapper(mapper);
1943
1944 return mapper;
1945}
1946//------------------------------------------------------------------------------
1947vtkPolyDataMapper2D* vtkParallelCoordinatesRepresentation::GetSelectionMapper(int idx)
1948{

Callers 3

UpdateSelectionActorsMethod · 0.95
SelectRowsMethod · 0.95

Calls 3

NewFunction · 0.50
SetInputDataMethod · 0.45
SetMapperMethod · 0.45

Tested by

no test coverage detected