#include "SVTK_Actor.h"
#include "SVTK_Event.h"
+#include "VTKViewer_CellCenters.h"
#include "VTKViewer_FramedTextActor.h"
#include "VTKViewer_ShrinkFilter.h"
#include "VTKViewer_GeometryFilter.h"
myValLblDataSet = vtkUnstructuredGrid::New();
- myValCellCenters = vtkCellCenters::New();
+ myValCellCenters = VTKViewer_CellCenters::New();
myValCellCenters->SetInput(myValLblDataSet);
myValMaskPoints = vtkMaskPoints::New();
class vtkImplicitFunctionCollection;
class vtkFeatureEdges;
class vtkTextProperty;
-class vtkCellCenters;
class vtkLabeledDataMapper;
class vtkMaskPoints;
class vtkActor2D;
+class VTKViewer_CellCenters;
class VTKViewer_FramedTextActor;
class VISU_SelectVisiblePoints;
vtkDataSet* myValLblDataSet;
vtkActor2D* myValLabels;
vtkMaskPoints* myValMaskPoints;
- vtkCellCenters* myValCellCenters;
+ VTKViewer_CellCenters* myValCellCenters;
vtkLabeledDataMapper* myValLabeledDataMapper;
VISU_SelectVisiblePoints* myValSelectVisiblePoints;
};
#include <vtkUnstructuredGrid.h>
#include <vtkCellDataToPointData.h>
-#include <vtkCellCenters.h>
#include <vtkPointData.h>
#include <vtkCellData.h>
#include <vtkPolyData.h>
#include "VISU_PipeLineUtils.hxx"
#include "VISU_StreamLine.hxx"
+#include "VTKViewer_CellCenters.h"
#include "VTKViewer_GeometryFilter.h"
#include <SUIT_Session.h>
SetIsFeatureEdgesAllowed(false);
myStream = VISU_StreamLine::New();
- myCenters = vtkCellCenters::New();
+ myCenters = VTKViewer_CellCenters::New();
myGeomFilter = VTKViewer_GeometryFilter::New();
myPointsFilter = VISU_MaskPointsFilter::New();
mySource = NULL;
class vtkDataSet;
class vtkPointSet;
-class vtkCellCenters;
+class VTKViewer_CellCenters;
class VTKViewer_GeometryFilter;
class VISU_MaskPointsFilter;
class VISU_StreamLine;
VISU_StreamLine* myStream;
vtkPointSet* mySource;
- vtkCellCenters* myCenters;
+ VTKViewer_CellCenters* myCenters;
VTKViewer_GeometryFilter *myGeomFilter;
VISU_MaskPointsFilter *myPointsFilter;
vtkFloatingPointType myPercents;
#include "VISU_UsedPointsFilter.hxx"
#include "VTKViewer_TransformFilter.h"
#include "VTKViewer_Transform.h"
+#include "VTKViewer_CellCenters.h"
#include <vtkGlyph3D.h>
#include <vtkConeSource.h>
//----------------------------------------------------------------------------
template<class TOutputFilter>
void ToCellCenters( TOutputFilter *theOutputFilter,
- vtkCellCenters *theCellCenters,
+ VTKViewer_CellCenters *theCellCenters,
vtkDataSet* theDataSet,
VISU_UsedPointsFilter* theUsedPointsFilter )
{
myConeSource = vtkConeSource::New();
myLineSource = vtkLineSource::New();
- myCenters = vtkCellCenters::New();
+ myCenters = VTKViewer_CellCenters::New();
myTransformFilter = VTKViewer_TransformFilter::New();
myUsedPointsFilter = VISU_UsedPointsFilter::New();
class VTKViewer_TransformFilter;
class VTKViewer_Transform;
-class vtkCellCenters;
+class VTKViewer_CellCenters;
class vtkGlyphSource2D;
class vtkConeSource;
vtkLineSource *myLineSource;
vtkConeSource *myConeSource;
- vtkCellCenters* myCenters;
+ VTKViewer_CellCenters* myCenters;
VTKViewer_TransformFilter *myTransformFilter;
VISU_UsedPointsFilter* myUsedPointsFilter;