Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkSIVectorPropertyTemplate< T, force_idtype > Class Template Reference

#include <vtkSIVectorPropertyTemplate.h>

Inheritance diagram for vtkSIVectorPropertyTemplate< T, force_idtype >:
Inheritance graph
[legend]
Collaboration diagram for vtkSIVectorPropertyTemplate< T, force_idtype >:
Collaboration graph
[legend]

Public Types

typedef vtkSIVectorProperty Superclass
 
- Public Types inherited from vtkSIVectorProperty
typedef vtkSIProperty Superclass
 
- Public Types inherited from vtkSIProperty
typedef vtkObject Superclass
 

Public Member Functions

virtual const char * GetClassName ()
 
virtual int IsA (const char *type)
 
void PrintSelf (ostream &os, vtkIndent indent) override
 
virtual bool GetArgumentIsArray ()
 If ArgumentIsArray is true, multiple elements are passed in as array arguments. More...
 
- Public Member Functions inherited from vtkSIVectorProperty
virtual char * GetInitialString ()
 
virtual int GetNumberOfElementsPerCommand ()
 If RepeatCommand is true, the command is invoked multiple times, each time with NumberOfElementsPerCommand values. More...
 
virtual bool GetUseIndex ()
 If UseIndex and RepeatCommand are true, the property will add an index integer before each command. More...
 
virtual char * GetCleanCommand ()
 Command that can be used to remove all values. More...
 
virtual char * GetSetNumberCommand ()
 If SetNumberCommand is set, it is called before Command with the number of arguments as the parameter. More...
 
- Public Member Functions inherited from vtkSIProperty
virtual char * GetXMLName ()
 The name assigned by the xml parser. More...
 
virtual char * GetCommand ()
 The command name used to set the value on the server object. More...
 
virtual bool GetInformationOnly ()
 Is InformationOnly is set to true, this property is used to get information from server instead of setting values. More...
 
virtual bool GetRepeatable ()
 If repeatable, a property can have 1 or more values of the same kind. More...
 
virtual void SetIsInternal (bool)
 This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
 
virtual bool GetIsInternal ()
 This ivar is configured when the xml file is read and is mainly useful to trigger a method call. More...
 
- Public Member Functions inherited from vtkObject
 vtkBaseTypeMacro (vtkObject, vtkObjectBase)
 
virtual void DebugOn ()
 
virtual void DebugOff ()
 
bool GetDebug ()
 
void SetDebug (bool debugFlag)
 
virtual void Modified ()
 
virtual vtkMTimeType GetMTime ()
 
void RemoveObserver (unsigned long tag)
 
void RemoveObservers (unsigned long event)
 
void RemoveObservers (const char *event)
 
void RemoveAllObservers ()
 
int HasObserver (unsigned long event)
 
int HasObserver (const char *event)
 
int InvokeEvent (unsigned long event)
 
int InvokeEvent (const char *event)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
unsigned long AddObserver (unsigned long event, vtkCommand *, float priority=0.0f)
 
unsigned long AddObserver (const char *event, vtkCommand *, float priority=0.0f)
 
vtkCommandGetCommand (unsigned long tag)
 
void RemoveObserver (vtkCommand *)
 
void RemoveObservers (unsigned long event, vtkCommand *)
 
void RemoveObservers (const char *event, vtkCommand *)
 
int HasObserver (unsigned long event, vtkCommand *)
 
int HasObserver (const char *event, vtkCommand *)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
unsigned long AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f)
 
int InvokeEvent (unsigned long event, void *callData)
 
int InvokeEvent (const char *event, void *callData)
 
- Public Member Functions inherited from vtkObjectBase
const char * GetClassName () const
 
virtual void Delete ()
 
virtual void FastDelete ()
 
void Print (ostream &os)
 
virtual void Register (vtkObjectBase *o)
 
virtual void UnRegister (vtkObjectBase *o)
 
void SetReferenceCount (int)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 
virtual void PrintHeader (ostream &os, vtkIndent indent)
 
virtual void PrintTrailer (ostream &os, vtkIndent indent)
 
int GetReferenceCount ()
 
void PrintRevisions (ostream &)
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkSIVectorPropertyTemplateSafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSIVectorProperty
static int IsTypeOf (const char *type)
 
static vtkSIVectorPropertySafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkSIProperty
static vtkSIPropertyNew ()
 
static int IsTypeOf (const char *type)
 
static vtkSIPropertySafeDownCast (vtkObject *o)
 
- Static Public Member Functions inherited from vtkObject
static vtkObjectNew ()
 
static void BreakOnError ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
static void SetGlobalWarningDisplay (int val)
 
static void GlobalWarningDisplayOn ()
 
static void GlobalWarningDisplayOff ()
 
static int GetGlobalWarningDisplay ()
 
- Static Public Member Functions inherited from vtkObjectBase
static vtkTypeBool IsTypeOf (const char *name)
 
static vtkObjectBaseNew ()
 
static vtkObjectBaseNew ()
 

Protected Member Functions

 vtkSIVectorPropertyTemplate ()
 
 ~vtkSIVectorPropertyTemplate () override
 
bool Push (vtkSMMessage *, int) override
 Push a new state to the underneath implementation. More...
 
bool Pull (vtkSMMessage *) override
 Pull the current state of the underneath implementation. More...
 
bool ReadXMLAttributes (vtkSIProxy *proxyhelper, vtkPVXMLElement *element) override
 Parse the xml for the property. More...
 
bool Push (T *values, int number_of_elements)
 Implements the actual push. More...
 
- Protected Member Functions inherited from vtkSIVectorProperty
 vtkSIVectorProperty ()
 
 ~vtkSIVectorProperty () override
 
virtual void SetCleanCommand (const char *)
 
virtual void SetSetNumberCommand (const char *)
 
virtual void SetInitialString (const char *)
 
- Protected Member Functions inherited from vtkSIProperty
 vtkSIProperty ()
 
 ~vtkSIProperty () override
 
vtkSIObjectGetSIObject (vtkTypeUInt32 globalid)
 Convenience method to obtain a vtkSIObject subclass given its global id. More...
 
virtual void SetCommand (const char *)
 
virtual void SetXMLName (const char *)
 
void SaveValueToCache (vtkSMMessage *proxyStateUpdate, int offset)
 
bool ProcessMessage (vtkClientServerStream &stream)
 Interprets the message. More...
 
const vtkClientServerStreamGetLastResult ()
 Interprets the message. More...
 
vtkObjectBaseGetVTKObject ()
 Interprets the message. More...
 
- Protected Member Functions inherited from vtkObject
 vtkObject ()
 
virtual ~vtkObject ()
 
void RegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void UnRegisterInternal (vtkObjectBase *, vtkTypeBool check) VTK_OVERRIDE
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
void InternalGrabFocus (vtkCommand *mouseEvents, vtkCommand *keypressEvents=NULL)
 
void InternalReleaseFocus ()
 
- Protected Member Functions inherited from vtkObjectBase
 vtkObjectBase ()
 
virtual ~vtkObjectBase ()
 
virtual void CollectRevisions (ostream &)
 
virtual void ReportReferences (vtkGarbageCollector *)
 
 vtkObjectBase (const vtkObjectBase &)
 
void operator= (const vtkObjectBase &)
 

Protected Attributes

bool ArgumentIsArray
 
- Protected Attributes inherited from vtkSIVectorProperty
char * SetNumberCommand
 
char * CleanCommand
 
bool UseIndex
 
int NumberOfElementsPerCommand
 
char * InitialString
 
- Protected Attributes inherited from vtkSIProperty
char * XMLName
 
char * Command
 
bool InformationOnly
 
bool Repeatable
 
bool IsInternal
 
vtkWeakPointer< vtkSIProxySIProxyObject
 
- Protected Attributes inherited from vtkObject
bool Debug
 
vtkTimeStamp MTime
 
vtkSubjectHelper * SubjectHelper
 
- Protected Attributes inherited from vtkObjectBase
vtkAtomicInt32 ReferenceCount
 
vtkWeakPointerBase ** WeakPointers
 

Detailed Description

template<class T, class force_idtype = int>
class vtkSIVectorPropertyTemplate< T, force_idtype >

Definition at line 28 of file vtkSIVectorPropertyTemplate.h.

Member Typedef Documentation

◆ Superclass

template<class T , class force_idtype = int>
typedef vtkSIVectorProperty vtkSIVectorPropertyTemplate< T, force_idtype >::Superclass

Definition at line 31 of file vtkSIVectorPropertyTemplate.h.

Constructor & Destructor Documentation

◆ vtkSIVectorPropertyTemplate()

template<class T , class force_idtype = int>
vtkSIVectorPropertyTemplate< T, force_idtype >::vtkSIVectorPropertyTemplate ( )
protected

◆ ~vtkSIVectorPropertyTemplate()

template<class T , class force_idtype = int>
vtkSIVectorPropertyTemplate< T, force_idtype >::~vtkSIVectorPropertyTemplate ( )
overrideprotected

Member Function Documentation

◆ GetClassName()

template<class T , class force_idtype = int>
virtual const char* vtkSIVectorPropertyTemplate< T, force_idtype >::GetClassName ( )
virtual

Reimplemented from vtkSIVectorProperty.

◆ IsTypeOf()

template<class T , class force_idtype = int>
static int vtkSIVectorPropertyTemplate< T, force_idtype >::IsTypeOf ( const char *  type)
static

◆ IsA()

template<class T , class force_idtype = int>
virtual int vtkSIVectorPropertyTemplate< T, force_idtype >::IsA ( const char *  type)
virtual

Reimplemented from vtkSIVectorProperty.

◆ SafeDownCast()

template<class T , class force_idtype = int>
static vtkSIVectorPropertyTemplate* vtkSIVectorPropertyTemplate< T, force_idtype >::SafeDownCast ( vtkObject o)
static

◆ PrintSelf()

template<class T , class force_idtype = int>
void vtkSIVectorPropertyTemplate< T, force_idtype >::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
overridevirtual

Reimplemented from vtkSIVectorProperty.

◆ GetArgumentIsArray()

template<class T , class force_idtype = int>
virtual bool vtkSIVectorPropertyTemplate< T, force_idtype >::GetArgumentIsArray ( )
virtual

If ArgumentIsArray is true, multiple elements are passed in as array arguments.

For example, For example, if RepeatCommand is true, NumberOfElementsPerCommand is 2, the command is SetFoo and the values are 1 2 3 4 5 6, the resulting stream will have:

* * Invoke obj SetFoo array(1, 2)
* * Invoke obj SetFoo array(3, 4)
* * Invoke obj SetFoo array(5, 6)
* 

◆ Push() [1/2]

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::Push ( vtkSMMessage ,
int   
)
overrideprotectedvirtual

Push a new state to the underneath implementation.

Reimplemented from vtkSIProperty.

◆ Pull()

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::Pull ( vtkSMMessage )
overrideprotectedvirtual

Pull the current state of the underneath implementation.

Reimplemented from vtkSIProperty.

◆ ReadXMLAttributes()

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::ReadXMLAttributes ( vtkSIProxy proxyhelper,
vtkPVXMLElement element 
)
overrideprotectedvirtual

Parse the xml for the property.

Reimplemented from vtkSIVectorProperty.

◆ Push() [2/2]

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::Push ( T *  values,
int  number_of_elements 
)
protected

Implements the actual push.

Member Data Documentation

◆ ArgumentIsArray

template<class T , class force_idtype = int>
bool vtkSIVectorPropertyTemplate< T, force_idtype >::ArgumentIsArray
protected

Definition at line 74 of file vtkSIVectorPropertyTemplate.h.


The documentation for this class was generated from the following file: