00001 /*========================================================================= 00002 00003 Module: $RCSfile: vtkPVComparativeVisPropertyWidget.h,v $ 00004 00005 Copyright (c) Kitware, Inc. 00006 All rights reserved. 00007 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00025 #ifndef __vtkPVComparativeVisPropertyWidget_h 00026 #define __vtkPVComparativeVisPropertyWidget_h 00027 00028 #include "vtkKWCompositeWidget.h" 00029 00030 class vtkKWEntryWithLabel; 00031 class vtkPVActiveTrackSelector; 00032 class vtkPVAnimationCue; 00033 class vtkPVSimpleAnimationCue; 00034 class vtkPVSource; 00035 class vtkPVTrackEditor; 00036 class vtkSMProxy; 00037 class vtkSMComparativeVisProxy; 00038 00039 class VTK_EXPORT vtkPVComparativeVisPropertyWidget : public vtkKWCompositeWidget 00040 { 00041 public: 00042 static vtkPVComparativeVisPropertyWidget* New(); 00043 vtkTypeRevisionMacro(vtkPVComparativeVisPropertyWidget,vtkKWCompositeWidget); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 00047 virtual void Create(vtkKWApplication *app); 00048 00050 void CopyToVisualization(vtkSMComparativeVisProxy* cv); 00051 00053 00054 void CopyFromVisualization( 00055 unsigned int propIdx, vtkSMComparativeVisProxy* proxy); 00057 00060 void ShowCueEditor(); 00061 00063 00064 void SetTrackEditor(vtkPVTrackEditor* ed); 00065 vtkGetObjectMacro(TrackEditor, vtkPVTrackEditor); 00067 00068 protected: 00069 vtkPVComparativeVisPropertyWidget(); 00070 ~vtkPVComparativeVisPropertyWidget(); 00071 00072 vtkPVActiveTrackSelector* TrackSelector; 00073 vtkPVSimpleAnimationCue* CueEditor; 00074 vtkPVAnimationCue* LastCue; 00075 vtkKWEntryWithLabel* NumberOfFramesEntry; 00076 vtkPVTrackEditor* TrackEditor; 00077 00078 void RemovePVSource(vtkPVSource* source); 00079 00080 //BTX 00081 friend class vtkPVCVSourceDeletedCommand; 00082 //ETX 00083 00084 private: 00085 vtkPVComparativeVisPropertyWidget(const vtkPVComparativeVisPropertyWidget&); // Not implemented 00086 void operator=(const vtkPVComparativeVisPropertyWidget&); // Not implemented 00087 }; 00088 00089 #endif