libVisuPipeLine_la_LDFLAGS= \
$(VTK_LIBS) -lVTKViewer \
$(KERNEL_LDFLAGS) -lSALOMELocalTrace \
- $(GUI_LDFLAGS) -lqtx -lsuit \
+ $(GUI_LDFLAGS) -lqtx -lsuit -lvtkEDFOverloads \
$(MED_LDFLAGS) \
../CONVERTOR/libVisuConvertor.la \
$(MED2_LIBS) \
// VTK includes
#include <vtkShrinkFilter.h>
#include <vtkPointLocator.h>
-#include <vtkCutter.h>
+#include <vtkEDFCutter.h>
#include <vtkPlane.h>
#include <vtkWarpVector.h>
#include <vtkScalarBarActor.h>
#include "VISU_DeformationPL.hxx"
#include <vtkAppendPolyData.h>
-#include <vtkCutter.h>
+#include <vtkEDFCutter.h>
#include <vtkPlane.h>
//#include <vtkUnstructuredGrid.h>
vtkFloatingPointType theDir[3],
vtkFloatingPointType theOrig[3])
{
- vtkCutter *aCutPlane = vtkCutter::New();
+ vtkEDFCutter *aCutPlane = vtkEDFCutter::New();
aCutPlane->SetInput(theDataSet);
vtkPlane *aPlane = vtkPlane::New();
aPlane->SetOrigin(theOrig);
#include <vtkCamera.h>
#include <vtkCellPicker.h>
#include <vtkConeSource.h>
-#include <vtkCutter.h>
+#include <vtkEDFCutter.h>
#include <vtkFeatureEdges.h>
#include <vtkImageData.h>
#include <vtkLineSource.h>
this->myOutlineActor->PickableOff();
this->OutlineTranslation = 0;
- this->myCutter1 = vtkCutter::New();
+ this->myCutter1 = vtkEDFCutter::New();
this->myCutter1->SetInput(myBox);
this->myCutter1->SetCutFunction(myPlane1);
this->myCutMapper1 = vtkPolyDataMapper::New();
myEdgesActor1->GetProperty()->SetLineWidth(4.);
myEdgesActor1->GetProperty()->SetColor(0., .5, .7);
- this->myCutter2 = vtkCutter::New();
+ this->myCutter2 = vtkEDFCutter::New();
this->myCutter2->SetInput(myBox);
this->myCutter2->SetCutFunction(this->myPlane2);
this->myCutMapper2 = vtkPolyDataMapper::New();
class vtkLineSource;
class vtkSphereSource;
class vtkPlane;
-class vtkCutter;
+class vtkEDFCutter;
class vtkProperty;
class vtkImageData;
class vtkOutlineFilter;
int OutlineTranslation; //whether the outline can be moved
- // The cut plane is produced with a vtkCutter
- vtkCutter *myCutter1;
+ // The cut plane is produced with a vtkEDFCutter
+ vtkEDFCutter *myCutter1;
vtkPolyDataMapper *myCutMapper1;
vtkActor *myCutActor1;
- vtkCutter *myCutter2;
+ vtkEDFCutter *myCutter2;
vtkPolyDataMapper *myCutMapper2;
vtkActor *myCutActor2;
#include "VISU_PipeLineUtils.hxx"
#include <vtkAppendPolyData.h>
-#include <vtkCutter.h>
+#include <vtkEDFCutter.h>
#include <vtkPlane.h>
#include <vtkGeometryFilter.h>
GetBasePlane( anOrigin, aPlaneNormal );
vtkPolyData* aPolyData = 0;
- vtkCutter *aCutPlane = 0;
+ vtkEDFCutter *aCutPlane = 0;
if ( !IsPlanarInput() )
{
- aCutPlane = vtkCutter::New();
+ aCutPlane = vtkEDFCutter::New();
aCutPlane->SetInput(aMergedInput);
vtkPlane *aPlane = vtkPlane::New();
$(QWT_LIBS) \
$(CAS_LDFLAGS) -lTKV3d \
$(KERNEL_LDFLAGS) -lSalomeNS -lSalomeDSClient \
- $(GUI_LDFLAGS) -lSVTK -lSPlot2d -lSalomePrs -lOCCViewer -lViewerTools \
+ $(GUI_LDFLAGS) -lSVTK -lSPlot2d -lSalomePrs -lOCCViewer -lViewerTools -lvtkEDFOverloads \
../OBJECT/libVisuObject.la ../VISU_I/libVISUEngineImpl.la \
../../idl/libSalomeIDLVISU.la
#include <QCheckBox>
#include <vtkImageData.h>
-#include <vtkCutter.h>
+#include <vtkEDFCutter.h>
#include <vtkPolyDataMapper.h>
#include <SALOMEDSClient_AttributeSequenceOfReal.hxx>
(aBound[3]-aBound[2]),
(aBound[5]-aBound[4]));
- myCutter = vtkCutter::New();
+ myCutter = vtkEDFCutter::New();
myCutter->SetInput(myBox);
myCutter->SetCutFunction(myPlane);
class SUIT_ViewWindow;
class vtkPolyDataMapper;
class vtkImageData;
-class vtkCutter;
+class vtkEDFCutter;
#include "VISU_Prs3d_i.hh"
#include "VisuGUI_Panel.h"
const double* myBounds;
vtkPlane* myPlane;
vtkImageData* myBox;
- vtkCutter* myCutter;
+ vtkEDFCutter* myCutter;
};