Hi,

We need to work with a vtk image that we take following the code

*Core::DataEntityHelper::GetProcessingData( GetInputDataEntityHolder( 0 ),
vtkInputImage);*

But there is an exception as we get and error saying that there is not input
data.

If we follow the code

*template <class ProcessingDataType>
void Core::DataEntityHelper::GetProcessingData(
                        Core::DataEntityHolder::Pointer dataEntityHolder,
                        ProcessingDataType &processingData,
                        int iTimeStep /*= 0*/ )
{
    Core::DataEntity::Pointer    dataEntity;

    dataEntity = dataEntityHolder->GetSubject( );
    if ( dataEntity.IsNull( ) )
    {
        throw
Core::Exceptions::Exception("DataEntityHelper::GetProcessingData",
            "You must select an input data from the Processing Browser and
set it as input"
        );
    }

    dataEntity->GetProcessingData( processingData, iTimeStep );
    if( !processingData )
    {
        throw
Core::Exceptions::Exception("DataEntityHelper::GetProcessingData",
            "You must select an input data from the Processing Browser and
set it as input"
        );
    }
}*

The first part is working well but it is when it achieves *GetProcessingData
*that something is not working.

Can you help us to fix this problem?

Thank you very much,
Aida
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Gimias-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimias-developers

Reply via email to