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

Method SetBounds

Rendering/Annotation/vtkAxisActor.cxx:1317–1328  ·  view source on GitHub ↗

----------------------------------------------------------------------------- Set the bounds for this actor to use. Sets timestamp BoundsModified. -----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1315// Set the bounds for this actor to use. Sets timestamp BoundsModified.
1316//-----------------------------------------------------------------------------**
1317void vtkAxisActor::SetBounds(const double b[6])
1318{
1319 if ((this->Bounds[0] != b[0]) || (this->Bounds[1] != b[1]) || (this->Bounds[2] != b[2]) ||
1320 (this->Bounds[3] != b[3]) || (this->Bounds[4] != b[4]) || (this->Bounds[5] != b[5]))
1321 {
1322 for (int i = 0; i < 6; i++)
1323 {
1324 this->Bounds[i] = b[i];
1325 }
1326 this->BoundsTime.Modified();
1327 }
1328}
1329
1330//-----------------------------------------------------------------------------**
1331// Retrieves the bounds of this actor.

Callers 15

RenderPieceMethod · 0.45
vtkCreateDataFunction · 0.45
RenderMethod · 0.45
CastRaysMethod · 0.45
HighlightProp3DMethod · 0.45
vtkCreateDataFunction · 0.45
CalculateFrustumFitMethod · 0.45

Calls 1

ModifiedMethod · 0.45

Tested by 15

vtkCreateDataFunction · 0.36
vtkCreateDataFunction · 0.36
InitializeXAxisFunction · 0.36
InitializeYAxisFunction · 0.36
InitializeZAxisFunction · 0.36
TestCubeAxes2DModeFunction · 0.36