Debug.
SVTK_Actor
::Initialize()
{
- SetInput(GetSource());
+ SetInputData(GetSource());
}
void
myUnstructuredGrid = theUnstructuredGrid;
- SetInput(theUnstructuredGrid);
+ SetInputData(theUnstructuredGrid);
}
vtkUnstructuredGrid*
{
if(theMapper){
int anId = 0;
- myPassFilter[ anId ]->SetInputData( theMapper->GetInput() );
+ myPassFilter[ anId ]->SetInputConnection( theMapper->GetInputConnection( 0, 0 ) );
myPassFilter[ anId + 1]->SetInputConnection( myPassFilter[ anId ]->GetOutputPort() );
anId++; // 1
*/
void
SVTK_DeviceActor
-::SetInput(vtkDataSet* theDataSet)
+::SetInputData(vtkDataSet* theDataSet)
{
myMapper->SetInputData(theDataSet);
InitPipeLine(myMapper);
}
+/*!
+ Allows to set initial vtkDataSet
+*/
+void
+SVTK_DeviceActor
+::SetInputConnection(vtkAlgorithmOutput* theAlgorithmOutput)
+{
+ myMapper->SetInputConnection(theAlgorithmOutput);
+ InitPipeLine(myMapper);
+}
+
/*!
To provide VTK to Object and backward mapping
*/
class vtkFeatureEdges;
class VTKViewer_DataSetMapper;
class vtkPassThroughFilter;
+class vtkAlgorithmOutput;
#ifdef WIN32
#pragma warning ( disable:4251 )
//! Allows to set initial #vtkDataSet
virtual
void
- SetInput(vtkDataSet* theDataSet);
+ SetInputData(vtkDataSet* theDataSet);
+
+ //! Allows to set initial #vtkAlgorithmOutput
+ virtual
+ void
+ SetInputConnection(vtkAlgorithmOutput* theAlgorithmOutput);
/** @name For selection mapping purpose */
//@{