If you can post your code on github or gitorious, it might be easier
to debug. It's not clear why you;d be getting that error.
Utkarsh
On Tue, Mar 8, 2011 at 12:06 PM, Alexis Chan alex...@stanfordalumni.org wrote:
Hi
I tried to use the recommended method below in my ParaView plugin:
//
Hi
I tried to use the recommended method below in my ParaView plugin:
// Get Application Core
pqApplicationCore* core = pqApplicationCore::instance();
// Get Object Builder to create new Views, Server etc
pqObjectBuilder* builder = core-getObjectBuilder();
// Get the Server Manager
That's because you haven't registered any readers with the reader factory.
Look at:
http://www.paraview.org/Wiki/Writing_Custom_Applications#ParaViewReaders:_Reader_Factory_Configuration
You need to specify an XML with the names of the readers that your
applications wants to expose in the
I'm using Clone2 as a base for the application and it has:
...
...
PVMAIN_WINDOW_INCLUDE myMainWindow.h
GUI_CONFIGURATION_XMLS
${CMAKE_CURRENT_SOURCE_DIR}/ParaViewSources.xml
${CMAKE_CURRENT_SOURCE_DIR}/ParaViewFilters.xml
${CMAKE_CURRENT_SOURCE_DIR}/ParaViewReaders.xml
That should work. Are you trying to call loadData() in the constructor
of your mainWindow class by any chance? If so that's too early, since
ParaView initialization code hasn't yet had the opportunity to read
the xml configuration files to initialize supported reader types etc.
You may want to use
Thanks, That worked well. I am currently trying to load a .vtk file with
the following:
QStringList fileList;
QString reprType;
reprType = VOLUME;
fileList.push_back(../
ParaViewData/Data/blow.vtk);
pqPipelineSource *readerSource = pqLoadDataReaction::loadData(fileList);
Hi,
I am attempting to use the Clone2 CustomApplication example to write a
custom application in C++. The wiki documentation on Custom Applications
suggest using pqViewManager to control the view of the application.
I want to split the frame into four different windows, each with its own
view.
Hello,
If you are creating a custom application which always has 4 render
windows, then I'd suggest not even using the pqViewManager.
Simply create the 4 views yourself and pack them into a QWidget using
a QGridLayout. For example, the following code can be used after a
server connection has been