Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkSMPropertyAdaptor Class Reference

provides string based interface for properties and domains More...

#include <vtkSMPropertyAdaptor.h>

Inheritance diagram for vtkSMPropertyAdaptor:

Inheritance graph
[legend]
Collaboration diagram for vtkSMPropertyAdaptor:

Collaboration graph
[legend]
List of all members.

Public Types

enum  PropertyTypes { UNKNOWN = 0, ENUMERATION, SELECTION, RANGE }
enum  ElementType {
  INT = RANGE + 1, DOUBLE, STRING, BOOLEAN,
  PROXY
}

Public Member Functions

 vtkTypeRevisionMacro (vtkSMPropertyAdaptor, vtkSMObject)
void PrintSelf (ostream &os, vtkIndent indent)
unsigned int GetNumberOfRangeElements ()
const char * GetRangeValue (unsigned int idx)
int SetRangeValue (unsigned int idx, const char *value)
unsigned int GetNumberOfEnumerationElements ()
const char * GetEnumerationName (unsigned int idx)
const char * GetEnumerationValue ()
int SetEnumerationValue (const char *idx)
unsigned int GetNumberOfSelectionElements ()
const char * GetSelectionName (unsigned int idx)
const char * GetSelectionValue (unsigned int idx)
int SetSelectionValue (unsigned int idx, const char *value)
void InitializePropertyFromInformation ()
int GetPropertyType ()
int GetElementType ()
int SetGenericValue (unsigned int idx, const char *value)
void SetProperty (vtkSMProperty *prop)
virtual vtkSMPropertyGetProperty ()
const char * GetRangeMinimum (unsigned int idx)
const char * GetRangeMaximum (unsigned int idx)
const char * GetSelectionMinimum (unsigned int idx)
const char * GetSelectionMaximum (unsigned int idx)

Static Public Member Functions

vtkSMPropertyAdaptorNew ()

Protected Member Functions

 vtkSMPropertyAdaptor ()
 ~vtkSMPropertyAdaptor ()
void InitializeDomains ()
void InitializeProperties ()
void SetDomain (vtkSMDomain *domain)
virtual void SaveState (const char *, ostream *, vtkIndent)

Protected Attributes

vtkSMBooleanDomainBooleanDomain
vtkSMDoubleRangeDomainDoubleRangeDomain
vtkSMEnumerationDomainEnumerationDomain
vtkSMIntRangeDomainIntRangeDomain
vtkSMProxyGroupDomainProxyGroupDomain
vtkSMStringListDomainStringListDomain
vtkSMStringListRangeDomainStringListRangeDomain
vtkSMProxyPropertyProxyProperty
vtkSMDoubleVectorPropertyDoubleVectorProperty
vtkSMIdTypeVectorPropertyIdTypeVectorProperty
vtkSMIntVectorPropertyIntVectorProperty
vtkSMStringVectorPropertyStringVectorProperty
vtkSMPropertyProperty
char Minimum [128]
char Maximum [128]
char EnumValue [128]
char ElemValue [128]

Detailed Description

provides string based interface for properties and domains

vtkSMPropertyAdaptor provides a general purpose string based interface for properties and domain. This is a helper class that can be used to simplify the management of properties and domains although it somehow restricts the capabilities of the server manager.

Definition at line 45 of file vtkSMPropertyAdaptor.h.


Member Enumeration Documentation

enum vtkSMPropertyAdaptor::PropertyTypes
 

Enumeration values:
UNKNOWN 
ENUMERATION 
SELECTION 
RANGE 

Definition at line 114 of file vtkSMPropertyAdaptor.h.

enum vtkSMPropertyAdaptor::ElementType
 

Enumeration values:
INT 
DOUBLE 
STRING 
BOOLEAN 
PROXY 

Definition at line 122 of file vtkSMPropertyAdaptor.h.


Constructor & Destructor Documentation

vtkSMPropertyAdaptor::vtkSMPropertyAdaptor  )  [protected]
 

vtkSMPropertyAdaptor::~vtkSMPropertyAdaptor  )  [protected]
 


Member Function Documentation

vtkSMPropertyAdaptor* vtkSMPropertyAdaptor::New  )  [static]
 

Reimplemented from vtkSMObject.

vtkSMPropertyAdaptor::vtkTypeRevisionMacro vtkSMPropertyAdaptor  ,
vtkSMObject 
 

void vtkSMPropertyAdaptor::PrintSelf ostream &  os,
vtkIndent  indent
 

Reimplemented from vtkSMObject.

void vtkSMPropertyAdaptor::SetProperty vtkSMProperty prop  ) 
 

Set/Get the property to be adapted. The property has to be set before any other method can be called.

virtual vtkSMProperty* vtkSMPropertyAdaptor::GetProperty  )  [virtual]
 

Set/Get the property to be adapted. The property has to be set before any other method can be called.

const char* vtkSMPropertyAdaptor::GetRangeMinimum unsigned int  idx  ) 
 

const char* vtkSMPropertyAdaptor::GetRangeMaximum unsigned int  idx  ) 
 

unsigned int vtkSMPropertyAdaptor::GetNumberOfRangeElements  ) 
 

const char* vtkSMPropertyAdaptor::GetRangeValue unsigned int  idx  ) 
 

int vtkSMPropertyAdaptor::SetRangeValue unsigned int  idx,
const char *  value
 

unsigned int vtkSMPropertyAdaptor::GetNumberOfEnumerationElements  ) 
 

const char* vtkSMPropertyAdaptor::GetEnumerationName unsigned int  idx  ) 
 

const char* vtkSMPropertyAdaptor::GetEnumerationValue  ) 
 

int vtkSMPropertyAdaptor::SetEnumerationValue const char *  idx  ) 
 

unsigned int vtkSMPropertyAdaptor::GetNumberOfSelectionElements  ) 
 

const char* vtkSMPropertyAdaptor::GetSelectionName unsigned int  idx  ) 
 

const char* vtkSMPropertyAdaptor::GetSelectionValue unsigned int  idx  ) 
 

int vtkSMPropertyAdaptor::SetSelectionValue unsigned int  idx,
const char *  value
 

const char* vtkSMPropertyAdaptor::GetSelectionMinimum unsigned int  idx  ) 
 

const char* vtkSMPropertyAdaptor::GetSelectionMaximum unsigned int  idx  ) 
 

void vtkSMPropertyAdaptor::InitializePropertyFromInformation  ) 
 

int vtkSMPropertyAdaptor::GetPropertyType  ) 
 

Returns either ENUMERATION, RANGE, SELECTION or UNKNOWN.

int vtkSMPropertyAdaptor::GetElementType  ) 
 

Returns either INT, DOUBLE, STRING, PROXY, BOOLEAN or UNKNOWN

int vtkSMPropertyAdaptor::SetGenericValue unsigned int  idx,
const char *  value
 

void vtkSMPropertyAdaptor::InitializeDomains  )  [protected]
 

void vtkSMPropertyAdaptor::InitializeProperties  )  [protected]
 

void vtkSMPropertyAdaptor::SetDomain vtkSMDomain domain  )  [protected]
 

virtual void vtkSMPropertyAdaptor::SaveState const char *  ,
ostream *  ,
vtkIndent 
[inline, protected, virtual]
 

Saves the state of the object in XML format. Should be overwritten by proxies and properties.

Reimplemented from vtkSMObject.

Definition at line 162 of file vtkSMPropertyAdaptor.h.


Member Data Documentation

vtkSMBooleanDomain* vtkSMPropertyAdaptor::BooleanDomain [protected]
 

Definition at line 141 of file vtkSMPropertyAdaptor.h.

vtkSMDoubleRangeDomain* vtkSMPropertyAdaptor::DoubleRangeDomain [protected]
 

Definition at line 142 of file vtkSMPropertyAdaptor.h.

vtkSMEnumerationDomain* vtkSMPropertyAdaptor::EnumerationDomain [protected]
 

Definition at line 143 of file vtkSMPropertyAdaptor.h.

vtkSMIntRangeDomain* vtkSMPropertyAdaptor::IntRangeDomain [protected]
 

Definition at line 144 of file vtkSMPropertyAdaptor.h.

vtkSMProxyGroupDomain* vtkSMPropertyAdaptor::ProxyGroupDomain [protected]
 

Definition at line 145 of file vtkSMPropertyAdaptor.h.

vtkSMStringListDomain* vtkSMPropertyAdaptor::StringListDomain [protected]
 

Definition at line 146 of file vtkSMPropertyAdaptor.h.

vtkSMStringListRangeDomain* vtkSMPropertyAdaptor::StringListRangeDomain [protected]
 

Definition at line 147 of file vtkSMPropertyAdaptor.h.

vtkSMProxyProperty* vtkSMPropertyAdaptor::ProxyProperty [protected]
 

Definition at line 149 of file vtkSMPropertyAdaptor.h.

vtkSMDoubleVectorProperty* vtkSMPropertyAdaptor::DoubleVectorProperty [protected]
 

Definition at line 150 of file vtkSMPropertyAdaptor.h.

vtkSMIdTypeVectorProperty* vtkSMPropertyAdaptor::IdTypeVectorProperty [protected]
 

Definition at line 151 of file vtkSMPropertyAdaptor.h.

vtkSMIntVectorProperty* vtkSMPropertyAdaptor::IntVectorProperty [protected]
 

Definition at line 152 of file vtkSMPropertyAdaptor.h.

vtkSMStringVectorProperty* vtkSMPropertyAdaptor::StringVectorProperty [protected]
 

Definition at line 153 of file vtkSMPropertyAdaptor.h.

vtkSMProperty* vtkSMPropertyAdaptor::Property [protected]
 

Definition at line 155 of file vtkSMPropertyAdaptor.h.

char vtkSMPropertyAdaptor::Minimum[128] [protected]
 

Definition at line 157 of file vtkSMPropertyAdaptor.h.

char vtkSMPropertyAdaptor::Maximum[128] [protected]
 

Definition at line 158 of file vtkSMPropertyAdaptor.h.

char vtkSMPropertyAdaptor::EnumValue[128] [protected]
 

Definition at line 159 of file vtkSMPropertyAdaptor.h.

char vtkSMPropertyAdaptor::ElemValue[128] [protected]
 

Definition at line 160 of file vtkSMPropertyAdaptor.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:41:58 2006 for ParaView by doxygen 1.3.5