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

Method SetPoint2WorldPosition

Interaction/Widgets/vtkLineRepresentation.cxx:336–343  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

334
335//------------------------------------------------------------------------------
336void vtkLineRepresentation::SetPoint2WorldPosition(double x[3])
337{
338 this->Point2Representation->SetWorldPosition(x);
339 this->LineSource->SetPoint2(x);
340 // double p[3];
341 // this->Point2Representation->GetDisplayPosition(p);
342 // this->Point2Representation->SetDisplayPosition(p);
343}
344
345//------------------------------------------------------------------------------
346void vtkLineRepresentation::SetPoint2DisplayPosition(double x[3])

Callers 12

PlaceWidgetMethod · 0.95
BuildRepresentationMethod · 0.95
ComplexInteractionMethod · 0.45
WidgetInteractionMethod · 0.45
TestLineWidget2bFunction · 0.45
TestDistanceWidgetFunction · 0.45
TestLineWidget2Function · 0.45

Calls 2

SetWorldPositionMethod · 0.45
SetPoint2Method · 0.45

Tested by 7

TestLineWidget2bFunction · 0.36
TestDistanceWidgetFunction · 0.36
TestLineWidget2Function · 0.36