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

Method PlaceWidget

Interaction/Widgets/vtkParallelopipedRepresentation.cxx:1475–1483  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1473
1474//------------------------------------------------------------------------------
1475void vtkParallelopipedRepresentation::PlaceWidget(double bounds[6])
1476{
1477 double corners[8][3] = { { bounds[0], bounds[2], bounds[4] }, { bounds[1], bounds[2], bounds[4] },
1478 { bounds[1], bounds[3], bounds[4] }, { bounds[0], bounds[3], bounds[4] },
1479 { bounds[0], bounds[2], bounds[5] }, { bounds[1], bounds[2], bounds[5] },
1480 { bounds[1], bounds[3], bounds[5] }, { bounds[0], bounds[3], bounds[5] } };
1481
1482 this->PlaceWidget(corners);
1483}
1484
1485//------------------------------------------------------------------------------
1486void vtkParallelopipedRepresentation::PlaceWidget(double corners[8][3])

Callers 1

Calls 4

PositionHandlesMethod · 0.95
SetMinimumDistanceMethod · 0.80
SetPointMethod · 0.45
GetLengthMethod · 0.45

Tested by

no test coverage detected