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

Method GetPositionAndSize

Views/Infovis/vtkParallelCoordinatesRepresentation.cxx:1895–1906  ·  view source on GitHub ↗

------------------------------------------------------------------------------ get position and size of the entire plot

Source from the content-addressed store, hash-verified

1893//------------------------------------------------------------------------------
1894// get position and size of the entire plot
1895int vtkParallelCoordinatesRepresentation::GetPositionAndSize(double* position, double* size)
1896{
1897 if (!this->Xs)
1898 return 0;
1899
1900 position[0] = this->Xs[0];
1901 position[1] = this->YMin;
1902
1903 size[0] = this->Xs[this->NumberOfAxes - 1] - this->Xs[0];
1904 size[1] = this->YMax - this->YMin;
1905 return 1;
1906}
1907
1908//------------------------------------------------------------------------------
1909// set position and size of the entire plot

Callers 6

PlaceAxesMethod · 0.95
SetPositionAndSizeMethod · 0.95
HoverMethod · 0.80
ZoomMethod · 0.80
PanMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected