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

Servers/ServerManager/vtkSMVectorProperty.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkSMVectorProperty.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
00009 
00010      This software is distributed WITHOUT ANY WARRANTY; without even
00011      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00012      PURPOSE.  See the above copyright notice for more information.
00013 
00014 =========================================================================*/
00025 #ifndef __vtkSMVectorProperty_h
00026 #define __vtkSMVectorProperty_h
00027 
00028 #include "vtkSMProperty.h"
00029 
00030 class VTK_EXPORT vtkSMVectorProperty : public vtkSMProperty
00031 {
00032 public:
00033   vtkTypeRevisionMacro(vtkSMVectorProperty, vtkSMProperty);
00034   void PrintSelf(ostream& os, vtkIndent indent);
00035 
00037   virtual unsigned int GetNumberOfElements() = 0;
00038 
00040   virtual void SetNumberOfElements(unsigned int num) = 0;
00041 
00043 
00049   vtkGetMacro(RepeatCommand, int);
00050   vtkSetMacro(RepeatCommand, int);
00051   vtkBooleanMacro(RepeatCommand, int);
00053 
00055 
00061   vtkGetMacro(NumberOfElementsPerCommand, int);
00062   vtkSetMacro(NumberOfElementsPerCommand, int);
00064 
00066 
00072   vtkGetMacro(UseIndex, int);
00073   vtkSetMacro(UseIndex, int);
00074   vtkBooleanMacro(UseIndex, int);
00076 
00078 
00081   vtkSetStringMacro(CleanCommand);
00082   vtkGetStringMacro(CleanCommand);
00084 
00086   virtual void Copy(vtkSMProperty* src);
00087 
00088 protected:
00089   vtkSMVectorProperty();
00090   ~vtkSMVectorProperty();
00091 
00092   int RepeatCommand;
00093   int NumberOfElementsPerCommand;
00094   int UseIndex;
00095 
00096   char* CleanCommand;
00097 
00099 
00100   virtual int ReadXMLAttributes(vtkSMProxy* parent, 
00101                                 vtkPVXMLElement* element);
00103 
00104 private:
00105   vtkSMVectorProperty(const vtkSMVectorProperty&); // Not implemented
00106   void operator=(const vtkSMVectorProperty&); // Not implemented
00107 };
00108 
00109 #endif

Generated on Tue May 30 12:31:49 2006 for ParaView by doxygen 1.3.5