Go to the documentation of this file.
14 #ifndef vtkSMProxySelectionModel_h
15 #define vtkSMProxySelectionModel_h
17 #include "vtkRemotingServerManagerModule.h"
22 class vtkSMProxySelectionModelInternal;
46 void SetFollowingMaster(
bool following);
47 bool IsFollowingMaster();
62 CLEAR_AND_SELECT = CLEAR | SELECT
79 void SetCurrentProxy(
vtkSMProxy* proxy,
int command);
87 unsigned int GetNumberOfSelectedProxies();
92 vtkSMProxy* GetSelectedProxy(
unsigned int index);
110 void Select(
const SelectionType& proxies,
int command);
117 void Clear() { this->Select(
nullptr, CLEAR); }
128 bool GetSelectionDataBounds(
double bounds[6]);
152 void InvokeSelectionChanged();
161 void PushStateToSession();
171 friend class vtkInternal;
172 vtkInternal* Internal;
void Select(vtkSMProxy *proxy)
virtual void LoadState(const vtkSMMessage *msg, vtkSMProxyLocator *locator)
This method is used to initialise the object to the given state If the definitionOnly Flag is set to ...
void Deselect(vtkSMProxy *proxy)
void SetSession(vtkSMSession *) override
Override the SetSession so if the object already have an ID we automatically register it to the assoc...
void ClearAndSelect(vtkSMProxy *proxy)
std::list< vtkSmartPointer< vtkSMProxy > > SelectionType
Type for selection.
proxy for a VTK object(s) on a server
baseclass for all proxy-objects that have counter parts on server as well as client processes.
const SelectionType & GetSelection()
Returns the selection set.
void Clear()
Wrapper friendly methods to doing what Select() can do.
static vtkSMSessionObject * New()
is used to locate proxies referred to in state xmls while loading state files.
virtual const vtkSMMessage * GetFullState()
This method return the full object state that can be used to create that object from scratch.
void PrintSelf(ostream &os, vtkIndent indent) override
vtkSmartPointer< vtkSMProxy > Current