Debug.
GEOM_EdgeSource::GEOM_EdgeSource() :
myIsVector(false)
{
+ this->SetNumberOfInputPorts(0);
}
GEOM_EdgeSource::~GEOM_EdgeSource()
}
int GEOM_EdgeSource::RequestData(vtkInformation *vtkNotUsed(request),
- vtkInformationVector **inputVector,
+ vtkInformationVector **vtkNotUsed(inputVector),
vtkInformationVector *outputVector)
{
vtkInformation *outInfo = outputVector->GetInformationObject(0);
typedef NCollection_Set<TopoDS_Edge> TEdgeSet;
#include <vtkPoints.h>
-#include <vtkAlgorithm.h>
+#include <vtkPolyDataAlgorithm.h>
class vtkPolyData;
-class OCC2VTK_EXPORT GEOM_EdgeSource: public vtkAlgorithm
+class OCC2VTK_EXPORT GEOM_EdgeSource: public vtkPolyDataAlgorithm
{
public:
- vtkTypeMacro(GEOM_EdgeSource,vtkAlgorithm);
+ vtkTypeMacro(GEOM_EdgeSource,vtkPolyDataAlgorithm);
static GEOM_EdgeSource* New();
void AddEdge (const TopoDS_Edge& theEdge,
GEOM_FaceSource::GEOM_FaceSource()
{
+ this->SetNumberOfInputPorts(0);
}
GEOM_FaceSource::~GEOM_FaceSource()
typedef NCollection_Set<TopoDS_Face> TFaceSet;
#include <vtkPoints.h>
-#include <vtkAlgorithm.h>
+#include <vtkPolyDataAlgorithm.h>
class vtkPolyData;
-class OCC2VTK_EXPORT GEOM_FaceSource: public vtkAlgorithm
+class OCC2VTK_EXPORT GEOM_FaceSource: public vtkPolyDataAlgorithm
{
public:
- vtkTypeMacro(GEOM_FaceSource,vtkAlgorithm);
+ vtkTypeMacro(GEOM_FaceSource,vtkPolyDataAlgorithm);
void AddFace(const TopoDS_Face& theFace);
void Clear(){ myFaceSet.Clear();}
GEOM_ShadingFace::GEOM_ShadingFace()
{
+ this->SetNumberOfInputPorts(0);
}
GEOM_ShadingFace::~GEOM_ShadingFace()
}
int GEOM_ShadingFace::RequestData(vtkInformation *vtkNotUsed(request),
- vtkInformationVector **inputVector,
+ vtkInformationVector **vtkNotUsed(inputVector),
vtkInformationVector *outputVector)
{
vtkInformation *outInfo = outputVector->GetInformationObject(0);
GEOM_VertexSource::GEOM_VertexSource()
{
+ this->SetNumberOfInputPorts(0);
}
GEOM_VertexSource::~GEOM_VertexSource()
}
int GEOM_VertexSource::RequestData(vtkInformation *vtkNotUsed(request),
- vtkInformationVector **inputVector,
+ vtkInformationVector **vtkNotUsed(inputVector),
vtkInformationVector *outputVector)
{
vtkInformation *outInfo = outputVector->GetInformationObject(0);
typedef NCollection_Set<TopoDS_Vertex> TVertexSet;
#include <vtkPoints.h>
-#include <vtkAlgorithm.h>
+#include <vtkPolyDataAlgorithm.h>
class vtkPolyData;
-class OCC2VTK_EXPORT GEOM_VertexSource: public vtkAlgorithm
+class OCC2VTK_EXPORT GEOM_VertexSource: public vtkPolyDataAlgorithm
{
public:
- vtkTypeMacro(GEOM_VertexSource,vtkAlgorithm);
+ vtkTypeMacro(GEOM_VertexSource,vtkPolyDataAlgorithm);
static GEOM_VertexSource* New();
void AddVertex(const TopoDS_Vertex& theVertex);
{
NbIso[0] = 1;
NbIso[1] = 1;
+
+ this->SetNumberOfInputPorts(0);
}
GEOM_WireframeFace::~GEOM_WireframeFace()
}
int GEOM_WireframeFace::RequestData(vtkInformation *vtkNotUsed(request),
- vtkInformationVector **inputVector,
+ vtkInformationVector **vtkNotUsed(inputVector),
vtkInformationVector *outputVector)
{
vtkInformation *outInfo = outputVector->GetInformationObject(0);