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

Method vtkCameraHandleSource

Interaction/Widgets/vtkCameraHandleSource.cxx:18–37  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

16
17//------------------------------------------------------------------------------
18vtkCameraHandleSource::vtkCameraHandleSource()
19{
20 this->UpArrow->SetShaftRadius(0.1);
21 this->FrontArrow->SetShaftRadius(0.1);
22
23 this->UpArrow->SetTipRadius(0.2);
24 this->FrontArrow->SetTipRadius(0.2);
25
26 this->UpTransform->PostMultiply();
27 this->FrontTransform->PostMultiply();
28
29 this->UpTransformFilter->SetTransform(UpTransform);
30 this->UpTransformFilter->SetInputConnection(UpArrow->GetOutputPort());
31
32 this->FrontTransformFilter->SetTransform(FrontTransform);
33 this->FrontTransformFilter->SetInputConnection(FrontArrow->GetOutputPort());
34
35 this->ArrowsAppend->AddInputConnection(this->UpTransformFilter->GetOutputPort());
36 this->ArrowsAppend->AddInputConnection(this->FrontTransformFilter->GetOutputPort());
37}
38
39//------------------------------------------------------------------------------
40vtkCameraHandleSource::~vtkCameraHandleSource() = default;

Callers

nothing calls this directly

Calls 4

SetTransformMethod · 0.45
SetInputConnectionMethod · 0.45
GetOutputPortMethod · 0.45
AddInputConnectionMethod · 0.45

Tested by

no test coverage detected