14 #ifndef vtkSMProxySelectionModel_h 15 #define vtkSMProxySelectionModel_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 SetSession(vtkSMSession *) override
Override the SetSession so if the object already have an ID we automatically register it to the assoc...
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 ...
#define VTKREMOTINGSERVERMANAGER_EXPORT
vtkSMSession is the default ParaView session.
const SelectionType & GetSelection()
Returns the selection set.
std::list< vtkSmartPointer< vtkSMProxy > > SelectionType
Type for selection.
void Clear()
Wrapper friendly methods to doing what Select() can do.
vtkSmartPointer< vtkSMProxy > Current
Header class that setup every thing in order to use Protobuf messages in a transparent manner...
void Deselect(vtkSMProxy *proxy)
void ClearAndSelect(vtkSMProxy *proxy)
proxy for a VTK object(s) on a server
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...
baseclass for all proxy-objects that have counter parts on server as well as client processes...
void Select(vtkSMProxy *proxy)
static vtkSMSessionObject * New()
void PrintSelf(ostream &os, vtkIndent indent) override