Salome HOME
Merge from BR_WIN_INDUS_514 branch 21/03/2011 (Windows industrialization)
[modules/visu.git] / src / PIPELINE / VISU_PipeLine.hxx
index d2bf38a5a069db9e51c1f5a3b82055ac9088c7f0..c712e05c67b9af686d95db23a18e25a10e460886 100644 (file)
@@ -40,6 +40,7 @@ class vtkMapper;
 class vtkDataSet;
 class vtkPointSet;
 class vtkImplicitFunction;
+class vtkTimeStamp;
 
 class VISU_MapperHolder;
 
@@ -179,6 +180,9 @@ public:
                 vtkFloatingPointType& theDist, 
                 vtkPlane* thePlane);
 
+  void                
+  GetVisibleBounds(vtkFloatingPointType theBounds[6]);
+
   //----------------------------------------------------------------------------
   static
   size_t
@@ -209,6 +213,10 @@ protected:
   void
   DoShallowCopy(VISU_PipeLine *thePipeLine,
                 bool theIsCopyInput);
+                
+  virtual
+  void
+  ComputeVisibleBounds();
 
   //----------------------------------------------------------------------------
   vtkDataSet* 
@@ -219,6 +227,10 @@ protected:
 
   void 
   SetIsFeatureEdgesAllowed(bool theIsFeatureEdgesAllowed);
+  
+  //Visible bounds xmin, xmax, ymin, ymax, zmin, zmax
+  vtkFloatingPointType myVisibleBounds[6];
+  vtkTimeStamp myVisibleComputeTime;       // Time at which visible bounds computed
 
 private:
   //----------------------------------------------------------------------------