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

Method SetPoint1

Interaction/Widgets/vtkLineWidget.cxx:985–999  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

983
984//------------------------------------------------------------------------------
985void vtkLineWidget::SetPoint1(double x, double y, double z)
986{
987 double xyz[3];
988 xyz[0] = x;
989 xyz[1] = y;
990 xyz[2] = z;
991
992 if (this->ClampToBounds)
993 {
994 this->ClampPosition(xyz);
995 this->PointWidget1->SetPosition(xyz);
996 }
997 this->LineSource->SetPoint1(xyz);
998 this->BuildRepresentation();
999}
1000
1001//------------------------------------------------------------------------------
1002void vtkLineWidget::SetPoint2(double x, double y, double z)

Callers 15

SetLinePositionMethod · 0.95
TestFFMPEGVideoSourceFunction · 0.45
ProcessTexturesMethod · 0.45
BuildRepresentationMethod · 0.45
UpdateReslicePlaneMethod · 0.45
PlaceWidgetMethod · 0.45
UpdateRepresentationMethod · 0.45
BuildRepresentationMethod · 0.45
GenerateTexturePlaneMethod · 0.45
UpdatePlaneMethod · 0.45

Calls 3

ClampPositionMethod · 0.95
BuildRepresentationMethod · 0.95
SetPositionMethod · 0.45

Tested by 3

TestFFMPEGVideoSourceFunction · 0.36
TestImageProbeFilterFunction · 0.36