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

Method BuildRepresentation

Interaction/Widgets/vtkLineWidget.cxx:444–452  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

442
443//------------------------------------------------------------------------------
444void vtkLineWidget::BuildRepresentation()
445{
446 // int res = this->LineSource->GetResolution();
447 double* pt1 = this->LineSource->GetPoint1();
448 double* pt2 = this->LineSource->GetPoint2();
449
450 this->HandleGeometry[0]->SetCenter(pt1);
451 this->HandleGeometry[1]->SetCenter(pt2);
452}
453
454//------------------------------------------------------------------------------
455void vtkLineWidget::SizeHandles()

Callers 15

SetEnabledMethod · 0.95
ScaleMethod · 0.95
PlaceWidgetMethod · 0.95
SetPoint1Method · 0.95
SetPoint2Method · 0.95
SetEnabledMethod · 0.45
SetMinimumValueMethod · 0.45
SetMaximumValueMethod · 0.45
SetValueMethod · 0.45
SetEnabledMethod · 0.45
MoveActionMethod · 0.45
MoveAction3DMethod · 0.45

Calls 3

GetPoint1Method · 0.45
GetPoint2Method · 0.45
SetCenterMethod · 0.45

Tested by 1