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

Method vtkPolyLineRepresentation

Interaction/Widgets/vtkPolyLineRepresentation.cxx:19–29  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

17
18//------------------------------------------------------------------------------
19vtkPolyLineRepresentation::vtkPolyLineRepresentation()
20{
21 vtkNew<vtkPolyDataMapper> lineMapper;
22 lineMapper->SetInputConnection(this->PolyLineSource->GetOutputPort());
23 lineMapper->SetResolveCoincidentTopologyToPolygonOffset();
24 this->LineActor->SetMapper(lineMapper);
25
26 this->SetNumberOfHandles(5);
27
28 this->HandlePicker->PickFromListOn();
29}
30
31//------------------------------------------------------------------------------
32vtkPolyLineRepresentation::~vtkPolyLineRepresentation()

Callers

nothing calls this directly

Calls 4

SetNumberOfHandlesMethod · 0.95
SetInputConnectionMethod · 0.45
GetOutputPortMethod · 0.45
SetMapperMethod · 0.45

Tested by

no test coverage detected