Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-20 Thread Jérôme
It is definitively not an out-of-memory problem!!
Your data makes my paraview crashed too, but not only. I tried with a vtk
python script (thus nothing to do with paraview) and the same occurs.

The reason comes from the way your Image.vti is built: the output of the
vtkXMLImageDataReader contains one PointData array, but scalars are not
set. You have to write somewhere when you build your image something like
that :
   myImage->GetPointData()->SetScalars(
myImage->GetPointData()->GetArray(0))

For a ParaView-exclusive solution, just plug a Calculator after the
Image.vti source
and set the operation to "FractalIterations" only. It will set properly the
output scalars.

HTH
Jerome

2011/5/20 Dominik Szczerba 

> Hi,
>
> My data is here, I would be glad if you tried it out.
>
> http://otoro.itis.ethz.ch/~dominik/tmp/Image.vti
>
> My ParaView is several days old git.
>
> Thanks and regards,
> Dominik
>
> On Fri, May 20, 2011 at 8:51 AM, Jérôme  wrote:
> > I don't have any problem running Median or Gradient on image of type
> > double. If you are allowed to share your data, I may give a try here.
> >
> > Maybe are you running out of memory? You can try to extract a subset
> > of your data and see if the segfault occurs.
> >
> > Jerome
> >
> > 2011/5/20 Dominik Szczerba 
> >>
> >> Hi Jerome,
> >>
> >> Thanks for the references, but there does not to be any solution in
> there?
> >> And yes, "strange extents" are also taking place in some cases, i.e.,
> >> extents are actually correct, but the content of the image data is
> >> smaller if the new spacing is finer than the original.
> >> Due to the lack of detailed description of this whole mechanism I can
> >> not say if this is my lack of knowledge or a bug.
> >>
> >> Regarding segfaults, the only non-standard thing I can say about my
> >> input image data is that it contains a scalar type "double". The said
> >> filters will work with image generated by Sources/Wavelet, but the
> >> type of that one is float. I am afraid something is hardcoded
> >> somewhere.
> >>
> >> Regards,
> >> Dominik
> >>
> >> On Fri, May 20, 2011 at 8:25 AM, Jérôme  wrote:
> >> > Hi,
> >> > regarding the vtkImageSlice exposition in ParaView, you should take
> >> > a look at these threads:
> >> > - issue report:
> >> >http://www.mail-archive.com/paraview@paraview.org/msg02225.html
> >> >http://www.mail-archive.com/paraview@paraview.org/msg08260.html
> >> > - issue deep explanation:
> >> >http://www.cmake.org/pipermail/paraview/2010-June/017738.html
> >> >
> >> > regarding the segfault, I feel surprise ! I use Median and Gradient
> very
> >> > often, and I never noticed a bug. Can you give the step to reproduce ?
> >> >
> >> > Best regards,
> >> > Jerome
> >> >
> >> >
> >> > 2011/5/19 Dominik Szczerba 
> >> >>
> >> >> I think my theory that it has to do with threading may be correct...
> >> >>
> >> >> I just tried instead of my custom plugin to run the built-in Gradient
> >> >> or Median on my vtkImageData and Paraview (3.11) silently segfaults.
> >> >> Both these built-in filters derive from vtkThreadedImageAlgorithm.
> >> >> Built-in vtkExtractVOI. however, works correctly, just as my other
> >> >> custom plugins deriving from vtkImageAlgorithm.
> >> >>
> >> >> Any pointers in this bug hunting are appreciated.
> >> >>
> >> >> Dominik
> >> >>
> >> >> On Thu, May 19, 2011 at 9:30 PM, Dominik Szczerba
> >> >> 
> >> >> wrote:
> >> >> > So far I was able to add a few simple custom plugins, but am slowly
> >> >> > losing the grip.
> >> >> > I am trying to resample an image like this:
> >> >> >
> >> >> >  >> >> > label="ImageResample">
> >> >> > 
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> >
> >> >> > 
> >> >> >  >> >> > command="SetAxisMagnificationFactor" number_of_elements="3"
> >> >> > number_of_elements_per_command="1" repeat_command="1" use_index="1"
> >> >> > default_values="1 1 1"/>
> >> >> >
> >> >> > I get these 2 problems:
> >> >> >
> >> >> > 1) There appear two (!) outputs (named Output-0 and Output-1). I
> get
> >> >> > this message:
> >> >> >
> >> >> > ERROR: In
> >> >> > /home/dsz/pack/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
> >> >> > line 827
> >> >> > vtkPVPostFilterExecutive (0x3aa4f60): Input for connection index 0
> on
> >> >> > input port index 0 for algorithm vtkPVPostFilter(0x2cfb850) is of
> >> >> > type
> >> >> > vtkImageStencilData, but a vtkDataSet is required.
> >> >> >
> >> >> > 2) The first output has the expected Spacing, but it does not
> contain
> >> >> > the same scalar array as in the input. Instead, it contains a new
> >> >> > array ImageScalars ranging [0,0]. I get this message:
> >> >> >
> >> >> > Warning: In
> >> >> >
> >> >> >
> /home/dsz/pack/ParaView/ParaViewCore/VTKExtensions/vtkTexturePainter.cxx,
> >> >> > line 179
> >> >> > vtkTexturePainter (0x339fa70): Failed to locate selected scalars.
> >> >> > Will
> >> >> > use image

Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-20 Thread le Anh Dung

Thank you so much. By using your commands the plugin works!
But how can we use it in PWConsole of ParaviewWeb ? (my goal is using  
paraviewWeb, so the use of javascript is important to me :) )

I tried with this but it didt work :(
paraview.LoadPlugin( {filename: '.../libAnalyzeReader.so',  
remote:false, ns:globals()});


I think that there's sth wrong with ns:globals().

Have a nice day!


Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages


Utkarsh Ayachit  a écrit :


Here's what I use in pvpython:

from paraview.simple import *
LoadPlugin(".../libAnalyzeReader.so", False, globals())
Analyzereader(FileName="...")





On Thu, May 19, 2011 at 8:22 AM, le Anh Dung  
 wrote:

Hi,
in PWConsole: paraview.LoadPlugin( {filename: '[PATH]/plugin.so',
remote:false});
in pvpython: LoadPlugin('[PATH]/plugin.so', True)

Regards :)



Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages


Utkarsh Ayachit  a écrit :


What is the command you are using to load the plugin?

Utkarsh

On Thu, May 19, 2011 at 7:05 AM, le Anh Dung 
wrote:


Hello,
I'm new to ParaviewWeb and need your help :)

Here is my problem: (all paraview versions are 64bits for Linux)
In ParaviewWeb: I want to load the AnalyzeReader and NIfTIReader to read
the
.img and .nii datas.
My ParaviewWeb was compiled base on Paraview 3.11, I tried to load the
plugins in PWConsole and they seem to be loaded (no error) but I can't
open
any data file (.img or .nii). I tried then using pvpython and got the
same
results (no reader found for ).
After that, I decided to use another version of Paraview to see what
happen:
 Paraview 3.10.1: - In pvpython: AnalyzeReader works, NIfTIReader NOT
                 - In GUI     : Both Work
 Paraview 3.8.1 : - In pvpython: Both NOT work
                 - IN GUI     : Both Work

I cant figure out what's going wrong here.
Could someone please help me ?
Many thanks!
Have a nice day!



Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages




___
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview














___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [help ParaviewWeb] Load Plugin

2011-05-20 Thread le Anh Dung

Hello, I figured out how to load the plugin in paraviewWeb.
Just create a python file in your plugin directory of ParaviewWeb, and  
then you can load your plugin in it.

Have a nice day everybody :)



Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages


le Anh Dung  a écrit :


Thank you so much. By using your commands the plugin works!
But how can we use it in PWConsole of ParaviewWeb ? (my goal is  
using paraviewWeb, so the use of javascript is important to me :) )

I tried with this but it didt work :(
paraview.LoadPlugin( {filename: '.../libAnalyzeReader.so',  
remote:false, ns:globals()});


I think that there's sth wrong with ns:globals().

Have a nice day!


Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages


Utkarsh Ayachit  a écrit :


Here's what I use in pvpython:

from paraview.simple import *
LoadPlugin(".../libAnalyzeReader.so", False, globals())
Analyzereader(FileName="...")





On Thu, May 19, 2011 at 8:22 AM, le Anh Dung  
 wrote:

Hi,
in PWConsole: paraview.LoadPlugin( {filename: '[PATH]/plugin.so',
remote:false});
in pvpython: LoadPlugin('[PATH]/plugin.so', True)

Regards :)



Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages


Utkarsh Ayachit  a écrit :


What is the command you are using to load the plugin?

Utkarsh

On Thu, May 19, 2011 at 7:05 AM, le Anh Dung 
wrote:


Hello,
I'm new to ParaviewWeb and need your help :)

Here is my problem: (all paraview versions are 64bits for Linux)
In ParaviewWeb: I want to load the AnalyzeReader and NIfTIReader to read
the
.img and .nii datas.
My ParaviewWeb was compiled base on Paraview 3.11, I tried to load the
plugins in PWConsole and they seem to be loaded (no error) but I can't
open
any data file (.img or .nii). I tried then using pvpython and got the
same
results (no reader found for ).
After that, I decided to use another version of Paraview to see what
happen:
 Paraview 3.10.1: - In pvpython: AnalyzeReader works, NIfTIReader NOT
                 - In GUI     : Both Work
 Paraview 3.8.1 : - In pvpython: Both NOT work
                 - IN GUI     : Both Work

I cant figure out what's going wrong here.
Could someone please help me ?
Many thanks!
Have a nice day!



Anh Dung LE.
INSA de Lyon - Télécommunications, Services & Usages




___
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


















___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] problems with ServerManagerConfiguration and vtkImageReslice

2011-05-20 Thread Dominik Szczerba
On Fri, May 20, 2011 at 9:31 AM, Jérôme  wrote:
> It is definitively not an out-of-memory problem!!
> Your data makes my paraview crashed too, but not only. I tried with a vtk
> python script (thus nothing to do with paraview) and the same occurs.
>
> The reason comes from the way your Image.vti is built: the output of the
> vtkXMLImageDataReader contains one PointData array, but scalars are not
> set. You have to write somewhere when you build your image something like
> that :
>    myImage->GetPointData()->SetScalars(
> myImage->GetPointData()->GetArray(0))

I generated the image by a custom filter operating on a generic
vtkDataSet, it just happens to be vtkImageData at this time. Your code
resolves the issue indeed, many thanks! But should the same be done
with other data types or only images? Do Scalars/Vectors always need
to be specified? These scalars/vectors/field data etc. remain unclear
for me for years.

Regards,
Dominik


>
> For a ParaView-exclusive solution, just plug a Calculator after the
> Image.vti source
> and set the operation to "FractalIterations" only. It will set properly the
> output scalars.
>
> HTH
> Jerome
>
> 2011/5/20 Dominik Szczerba 
>>
>> Hi,
>>
>> My data is here, I would be glad if you tried it out.
>>
>> http://otoro.itis.ethz.ch/~dominik/tmp/Image.vti
>>
>> My ParaView is several days old git.
>>
>> Thanks and regards,
>> Dominik
>>
>> On Fri, May 20, 2011 at 8:51 AM, Jérôme  wrote:
>> > I don't have any problem running Median or Gradient on image of type
>> > double. If you are allowed to share your data, I may give a try here.
>> >
>> > Maybe are you running out of memory? You can try to extract a subset
>> > of your data and see if the segfault occurs.
>> >
>> > Jerome
>> >
>> > 2011/5/20 Dominik Szczerba 
>> >>
>> >> Hi Jerome,
>> >>
>> >> Thanks for the references, but there does not to be any solution in
>> >> there?
>> >> And yes, "strange extents" are also taking place in some cases, i.e.,
>> >> extents are actually correct, but the content of the image data is
>> >> smaller if the new spacing is finer than the original.
>> >> Due to the lack of detailed description of this whole mechanism I can
>> >> not say if this is my lack of knowledge or a bug.
>> >>
>> >> Regarding segfaults, the only non-standard thing I can say about my
>> >> input image data is that it contains a scalar type "double". The said
>> >> filters will work with image generated by Sources/Wavelet, but the
>> >> type of that one is float. I am afraid something is hardcoded
>> >> somewhere.
>> >>
>> >> Regards,
>> >> Dominik
>> >>
>> >> On Fri, May 20, 2011 at 8:25 AM, Jérôme  wrote:
>> >> > Hi,
>> >> > regarding the vtkImageSlice exposition in ParaView, you should take
>> >> > a look at these threads:
>> >> > - issue report:
>> >> >    http://www.mail-archive.com/paraview@paraview.org/msg02225.html
>> >> >    http://www.mail-archive.com/paraview@paraview.org/msg08260.html
>> >> > - issue deep explanation:
>> >> >    http://www.cmake.org/pipermail/paraview/2010-June/017738.html
>> >> >
>> >> > regarding the segfault, I feel surprise ! I use Median and Gradient
>> >> > very
>> >> > often, and I never noticed a bug. Can you give the step to reproduce
>> >> > ?
>> >> >
>> >> > Best regards,
>> >> > Jerome
>> >> >
>> >> >
>> >> > 2011/5/19 Dominik Szczerba 
>> >> >>
>> >> >> I think my theory that it has to do with threading may be correct...
>> >> >>
>> >> >> I just tried instead of my custom plugin to run the built-in
>> >> >> Gradient
>> >> >> or Median on my vtkImageData and Paraview (3.11) silently segfaults.
>> >> >> Both these built-in filters derive from vtkThreadedImageAlgorithm.
>> >> >> Built-in vtkExtractVOI. however, works correctly, just as my other
>> >> >> custom plugins deriving from vtkImageAlgorithm.
>> >> >>
>> >> >> Any pointers in this bug hunting are appreciated.
>> >> >>
>> >> >> Dominik
>> >> >>
>> >> >> On Thu, May 19, 2011 at 9:30 PM, Dominik Szczerba
>> >> >> 
>> >> >> wrote:
>> >> >> > So far I was able to add a few simple custom plugins, but am
>> >> >> > slowly
>> >> >> > losing the grip.
>> >> >> > I am trying to resample an image like this:
>> >> >> >
>> >> >> > > >> >> > label="ImageResample">
>> >> >> > 
>> >> >> >        
>> >> >> >                
>> >> >> >                
>> >> >> >        
>> >> >> >        
>> >> >> >                
>> >> >> >        
>> >> >> > 
>> >> >> > > >> >> > command="SetAxisMagnificationFactor" number_of_elements="3"
>> >> >> > number_of_elements_per_command="1" repeat_command="1"
>> >> >> > use_index="1"
>> >> >> > default_values="1 1 1"/>
>> >> >> >
>> >> >> > I get these 2 problems:
>> >> >> >
>> >> >> > 1) There appear two (!) outputs (named Output-0 and Output-1). I
>> >> >> > get
>> >> >> > this message:
>> >> >> >
>> >> >> > ERROR: In
>> >> >> > /home/dsz/pack/ParaView/VTK/Filtering/vtkDemandDrivenPipeline.cxx,
>> >> >> > line 827
>> >> >> > vtkPVPostFilterExecutive (0x3aa4f60): Input for connection index 0
>> >> >> > on
>> >

Re: [Paraview] Surface LIC

2011-05-20 Thread Utkarsh Ayachit
SurfaceLIC doesn't work with Mesa. It uses some OpenGL extensions that
Mesa has no plans to support due to IP issues.

Utkarsh

On Thu, May 19, 2011 at 11:25 PM, Burlen Loring  wrote:
> Hi All,
>
> For some reason Surface LIC doesn't work for me. Should the surface LIC work
> with osmesa ?
>
> thanks
> Burlen
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Add a new unstructured volume mapper

2011-05-20 Thread Utkarsh Ayachit
Hello,

It's not going to be easy for someone without familiarity to
ParaView's internals to add a new unstructured volume mapper to
ParaView. Once I find some time I can probably write an example to
demonstrate the same. However, until then please be patient.

Utkarsh

On Thu, May 19, 2011 at 9:05 PM, 胡健  wrote:
> hi everyone:
>  I want to add a new unstructured volume mapper to paraview. how do I add
> it? any help will be appreciate!
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


[Paraview] Glyph Trouble

2011-05-20 Thread Brian C. Panneton (CONTR)
I'm trying to put a glyph on every point for a filter. Currently it 
apply only one glyph containing all of the points. Am I doing something 
wrong here?


[code]
vtkSmartPointer pd =
   vtkSmartPointer::New();
   vtkSmartPointer points2 =
   vtkSmartPointer::New();
   points2->InsertNextPoint(0,0,1);
   points2->InsertNextPoint(1,1,1);
   points2->InsertNextPoint(2,2,1);
   points2->InsertNextPoint(100,2,1);
   pd->SetPoints(points2);
   vtkSmartPointer cubeSource =
   vtkSmartPointer::New();

   vtkSmartPointer glyph3D =
   vtkSmartPointer::New();
   glyph3D->SetSource(cubeSource->GetOutput());
   glyph3D->SetInput(pd);
   glyph3D->Update();

   this->data->SetBlock(1, glyph3D->GetOutput());

   output->DeepCopy(this->data);
[/code]

Thanks,
Brian Panneton
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Glyph Trouble

2011-05-20 Thread Brian C. Panneton (CONTR)
Ah, I had the Style Representation set to Outline, so the Outline 
contained all of the points. When changed to surface, I see what I want.


Thanks,
Brian Panneton

Brian C. Panneton (CONTR) wrote:
I'm trying to put a glyph on every point for a filter. Currently it 
apply only one glyph containing all of the points. Am I doing 
something wrong here?


[code]
vtkSmartPointer pd =
   vtkSmartPointer::New();
   vtkSmartPointer points2 =
   vtkSmartPointer::New();
   points2->InsertNextPoint(0,0,1);
   points2->InsertNextPoint(1,1,1);
   points2->InsertNextPoint(2,2,1);
   points2->InsertNextPoint(100,2,1);
   pd->SetPoints(points2);
   vtkSmartPointer cubeSource =
   vtkSmartPointer::New();

   vtkSmartPointer glyph3D =
   vtkSmartPointer::New();
   glyph3D->SetSource(cubeSource->GetOutput());
   glyph3D->SetInput(pd);
   glyph3D->Update();

   this->data->SetBlock(1, glyph3D->GetOutput());

   output->DeepCopy(this->data);
[/code]

Thanks,
Brian Panneton
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html


Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView


Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Surface LIC

2011-05-20 Thread Burlen Loring

Hi Utkarsh,

I also had to patch the CMakeFile so that the server manager parts of 
the plugin would build without qt, which is a common use case for me. 
I'm attaching it in case you will support it.


Burlen

On 05/20/2011 08:19 AM, Utkarsh Ayachit wrote:

SurfaceLIC doesn't work with Mesa. It uses some OpenGL extensions that
Mesa has no plans to support due to IP issues.

Utkarsh

On Thu, May 19, 2011 at 11:25 PM, Burlen Loring  wrote:

Hi All,

For some reason Surface LIC doesn't work for me. Should the surface LIC work
with osmesa ?

thanks
Burlen
___
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at:
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview



--- Plugins/SurfaceLIC/CMakeLists.txt	2011-05-20 11:48:52.893830190 -0700
+++ Plugins/SurfaceLIC/CMakeLists.txt	2011-05-20 13:20:28.613294576 -0700
@@ -4,75 +4,81 @@
   ${CMAKE_CURRENT_SOURCE_DIR}
   ${CMAKE_CURRENT_BINARY_DIR}
   )
-  
-# Qt interface
+
+SET( MOC_SRCS )
+SET( UI_SRCS )
+SET( SM_XMLS )
+SET( SM_SOURCES )
+SET( IFACES )
 SET( MOC_SRCS )
+SET( SURFACE_LIC_SOURCES )
 SET( UI_SRCS )
+SET( IFACE_SRCS )
 
 IF (PARAVIEW_BUILD_QT_GUI)
-
+  # Qt interface
   INCLUDE( ${QT_USE_FILE} )
 
-  QT4_WRAP_CPP( MOC_SRCS 
+  QT4_WRAP_CPP( MOC_SRCS
 pqSurfaceLICDisplayPanelDecorator.h
 )
 
-  QT4_WRAP_UI( UI_SRCS 
+  QT4_WRAP_UI( UI_SRCS
 pqSurfaceLICDisplayPanelDecorator.ui
 )
-
+
   INCLUDE_DIRECTORIES(
 ${ParaView_BINARY_DIR}/VTK/GUISupport/Qt
 ${ParaView_SOURCE_DIR}/VTK/GUISupport/Qt
 ${QtWidgets_BINARY_DIR}
 ${QtWidgets_SOURCE_DIR}
-
+
 ${pqComponents_BINARY_DIR}
 ${pqComponents_SOURCE_DIR}
 ${pqCore_BINARY_DIR}
 ${pqCore_SOURCE_DIR}
 )
-
+
   SET( SURFACE_LIC_SOURCES
 pqSurfaceLICDisplayPanelDecorator.cxx
 )
+ENDIF (PARAVIEW_BUILD_QT_GUI)
 
-  # server manager
-  SET( SM_SOURCES
-vtkSurfaceLICRepresentation.cxx
-)
 
-  SET( SM_XMLS
-vtkSurfaceLICRendering.xml
-vtkSurfaceLICExtension.xml
-)
-
+# server manager
+SET( SM_SOURCES
+  vtkSurfaceLICRepresentation.cxx
+  )
+
+SET( SM_XMLS
+  vtkSurfaceLICRendering.xml
+  vtkSurfaceLICExtension.xml
+  )
+
+IF (PARAVIEW_BUILD_QT_GUI)
   # This is the macro to add a display panel decorator.
-  # It needs the class name, and the panel types we are decorating. It fills up 
+  # It needs the class name, and the panel types we are decorating. It fills up
   # IFACES and IFACE_SRCS with proper values as needed by ADD_PARAVIEW_PLUGIN macro.
   ADD_PARAVIEW_DISPLAY_PANEL_DECORATOR(
-   IFACES IFACE_SRCS 
+   IFACES IFACE_SRCS
CLASS_NAME pqSurfaceLICDisplayPanelDecorator
-   PANEL_TYPES pqDisplayProxyEditor 
+   PANEL_TYPES pqDisplayProxyEditor
# <-- This identifies the panel type(s) to decorate
# Our decorator will only be instantiated for the panel types indicated here
   )
+ENDIF (PARAVIEW_BUILD_QT_GUI)
 
+ADD_PARAVIEW_PLUGIN( SurfaceLIC "1.0"
+  SERVER_MANAGER_XML
+${SM_XMLS}
+  SERVER_MANAGER_SOURCES
+${SM_SOURCES}
+  GUI_INTERFACES
+${IFACES}
+  GUI_SOURCES
+${MOC_SRCS}
+${SURFACE_LIC_SOURCES}
+${UI_SRCS}
+${IFACE_SRCS}
+  )
 
-  ADD_PARAVIEW_PLUGIN( SurfaceLIC "1.0"
-SERVER_MANAGER_XML 
-  ${SM_XMLS}
-  
-SERVER_MANAGER_SOURCES 
-  ${SM_SOURCES}
-  
-GUI_INTERFACES 
-  ${IFACES} 
-GUI_SOURCES 
-  ${MOC_SRCS}
-  ${SURFACE_LIC_SOURCES}
-  ${UI_SRCS}
-  ${IFACE_SRCS}
-)
-
-ENDIF (PARAVIEW_BUILD_QT_GUI)
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] Surface LIC

2011-05-20 Thread David Partyka
Sounds good, I think I have a bug in my backlog to do the same.

On Fri, May 20, 2011 at 4:28 PM, Burlen Loring  wrote:

> Hi Utkarsh,
>
> I also had to patch the CMakeFile so that the server manager parts of the
> plugin would build without qt, which is a common use case for me. I'm
> attaching it in case you will support it.
>
> Burlen
>
>
> On 05/20/2011 08:19 AM, Utkarsh Ayachit wrote:
>
>> SurfaceLIC doesn't work with Mesa. It uses some OpenGL extensions that
>> Mesa has no plans to support due to IP issues.
>>
>> Utkarsh
>>
>> On Thu, May 19, 2011 at 11:25 PM, Burlen Loring  wrote:
>>
>>> Hi All,
>>>
>>> For some reason Surface LIC doesn't work for me. Should the surface LIC
>>> work
>>> with osmesa ?
>>>
>>> thanks
>>> Burlen
>>> ___
>>> Powered by www.kitware.com
>>>
>>> Visit other Kitware open-source projects at
>>> http://www.kitware.com/opensource/opensource.html
>>>
>>> Please keep messages on-topic and check the ParaView Wiki at:
>>> http://paraview.org/Wiki/ParaView
>>>
>>> Follow this link to subscribe/unsubscribe:
>>> http://www.paraview.org/mailman/listinfo/paraview
>>>
>>>
>
> ___
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview


Re: [Paraview] [Paraview-developers] Online Courses

2011-05-20 Thread David E DeMarle
Greetings,

The next *Introduction to ParaView - Online *course will be held:
Thursday, May 26, 2011. 9:30-11 EST
Please click here to
register

These instructor-led courses are each 90 minutes long and taught at the
introductory level. The cost of each session is $150 ($99 for students). We
will be scheduling intermediate and advanced topics in the coming weeks. You
can find our most up-to-date listing for training courses (including these
online courses and our upcoming ITK training course in Lyon, France) at:
http://www.kitware.com/products/protraining3.html. If you have any question
or require further information, please contact us at cour...@kitware.com.

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Thu, Apr 21, 2011 at 12:53 PM, Lisa Avila  wrote:
> Kitware is please to announce the addition of online courses to our
training
> options. The first course sessions are scheduled over the next two weeks:
>
> Introduction to VTK - Online
> Tuesday, April 26, 2011. 4:00PM-5:30PM EST
> Please click here to register
>
> Introduction to CMake - Online
> Wednesday, April 27, 2011. 3:00PM-4:30PM EST
> Please click here to register
>
> Introduction to ParaView - Online
> Thursday, April 28, 2011. 10:00AM-11:30AM EST
> Please click here to register
>
> Introduction to ITK - Online
> Tuesday, May 3, 2011. 10:30AM-12:00PM EST
> Please click here to register
>
> These instructor-led courses are each 90 minutes long and taught at the
> introductory level. The cost of each session is $150 ($99 for students).
We
> will be scheduling intermediate and advanced topics in the coming weeks.
You
> can find our most up-to-date listing for training courses (including these
> online courses and our upcoming ITK training course in Lyon, France) at:
> http://www.kitware.com/products/protraining3.html. If you have any
question
> or require further information, please contact us at cour...@kitware.com.
>
>
> ___
> Paraview-developers mailing list
> paraview-develop...@paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
>
___
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview