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

Method SetPoint2

Interaction/Widgets/vtkLineWidget.cxx:1002–1016  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1000
1001//------------------------------------------------------------------------------
1002void vtkLineWidget::SetPoint2(double x, double y, double z)
1003{
1004 double xyz[3];
1005 xyz[0] = x;
1006 xyz[1] = y;
1007 xyz[2] = z;
1008
1009 if (this->ClampToBounds)
1010 {
1011 this->ClampPosition(xyz);
1012 this->PointWidget2->SetPosition(xyz);
1013 }
1014 this->LineSource->SetPoint2(xyz);
1015 this->BuildRepresentation();
1016}
1017
1018//------------------------------------------------------------------------------
1019void vtkLineWidget::SetLinePosition(double x[3])

Callers 15

SetLinePositionMethod · 0.95
TestFFMPEGVideoSourceFunction · 0.45
ProcessTexturesMethod · 0.45
BuildRepresentationMethod · 0.45
UpdateReslicePlaneMethod · 0.45
PlaceWidgetMethod · 0.45
UpdateRepresentationMethod · 0.45
SizeHandlesMethod · 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