MCPcopy Create free account
hub / github.com/Kitware/ParaView / SetCurrentProxy

Method SetCurrentProxy

Remoting/ServerManager/vtkSMProxySelectionModel.cxx:114–128  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

112
113//-----------------------------------------------------------------------------
114void vtkSMProxySelectionModel::SetCurrentProxy(vtkSMProxy* proxy, int command)
115{
116 if (this->Current != proxy)
117 {
118 SM_SCOPED_TRACE(SetCurrentProxy)
119 .arg("selmodel", this)
120 .arg("proxy", proxy)
121 .arg("command", command);
122 this->Internal->DisableSessionStatePush = true;
123 this->Current = proxy;
124 this->Select(proxy, command);
125 this->Internal->DisableSessionStatePush = false;
126 this->InvokeCurrentChanged(proxy);
127 }
128}
129
130//-----------------------------------------------------------------------------
131bool vtkSMProxySelectionModel::IsSelected(vtkSMProxy* proxy)

Callers 14

LoadStateMethod · 0.95
RegisterPipelineProxyMethod · 0.80
RegisterViewProxyMethod · 0.80
UnRegisterViewProxyMethod · 0.80
setActiveViewMethod · 0.80
setSelectionMethod · 0.80
eventFilterMethod · 0.80
__enter__Method · 0.80
__exit__Method · 0.80

Calls 2

SelectMethod · 0.95
InvokeCurrentChangedMethod · 0.95

Tested by

no test coverage detected