Error: no override found for 'vtkRayCastImageDisplayHelper'

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
Hello,

i face this error,

Error: no override found for 'vtkRayCastImageDisplayHelper'.

whenever i initial vtkFixedPointVolumeRayCastMapper or vtkSmartVolumeMapper.
-vtkNew<vtkFixedPointVolumeRayCastMapper> volumeRayCastMapper;

i run the code for iOS.


any help please?
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Imre Goretzki
Hey
 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
with
vtkRenderingVolumeOpenGL
instead of
vtkRenderingOpenGL

http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines

Am 09.12.2015 um 20:44 schrieb YassminAbdallah:
Error: no override found for 'vtkRayCastImageDisplayHelper'


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
Hello,

Thanks a lot for your reply,

i added them but those errors appear,

Undefined symbols for architecture x86_64:
  "vtkRenderingVolumeOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::~vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
  "vtkRenderingVolumeOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



On Dec 10, 2015, at 1:24 AM, Imre Goretzki <[hidden email]> wrote:

Hey
 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
with
vtkRenderingVolumeOpenGL
instead of
vtkRenderingOpenGL

http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines

Am 09.12.2015 um 20:44 schrieb YassminAbdallah:
Error: no override found for 'vtkRayCastImageDisplayHelper'

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Aashish Chaudhary-2
Are you using installed VTK libraries? Also, make sure you link with vtkRenderingVolumeOpenGL. 

On Wed, Dec 9, 2015 at 8:50 PM, Yassmin Abdallah <[hidden email]> wrote:
Hello,

Thanks a lot for your reply,

i added them but those errors appear,

Undefined symbols for architecture x86_64:
  "vtkRenderingVolumeOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::~vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
  "vtkRenderingVolumeOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



On Dec 10, 2015, at 1:24 AM, Imre Goretzki <[hidden email]> wrote:

Hey
 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
with
vtkRenderingVolumeOpenGL
instead of
vtkRenderingOpenGL

http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines

Am 09.12.2015 um 20:44 schrieb YassminAbdallah:
Error: no override found for 'vtkRayCastImageDisplayHelper'

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
Hello,

i’m using the framework installed by the cmake, 

i really don’t know what’s the problem as “vtkOpenGLGPUVolumeRayCastMapper" work fine without any problem .

On Dec 10, 2015, at 4:09 AM, Aashish Chaudhary-2 [via VTK] <[hidden email]> wrote:

Are you using installed VTK libraries? Also, make sure you link with vtkRenderingVolumeOpenGL. 

On Wed, Dec 9, 2015 at 8:50 PM, Yassmin Abdallah <<a href="x-msg://27/user/SendEmail.jtp?type=node&amp;node=5735451&amp;i=0" target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
Hello,

Thanks a lot for your reply,

i added them but those errors appear,

Undefined symbols for architecture x86_64:
  "vtkRenderingVolumeOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::~vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
  "vtkRenderingVolumeOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



On Dec 10, 2015, at 1:24 AM, Imre Goretzki <<a href="x-msg://27/user/SendEmail.jtp?type=node&amp;node=5735451&amp;i=1" target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:

Hey
 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
with 
vtkRenderingVolumeOpenGL
instead of
vtkRenderingOpenGL

http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines

Am 09.12.2015 um 20:44 schrieb YassminAbdallah:
Error: no override found for 'vtkRayCastImageDisplayHelper'

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




-- 
| Aashish Chaudhary 
| Technical Leader         
| Kitware Inc.            

_______________________________________________ 
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe: 
http://public.kitware.com/mailman/listinfo/vtkusers



If you reply to this email, your message will be added to the discussion below:
http://vtk.1045678.n5.nabble.com/Error-no-override-found-for-vtkRayCastImageDisplayHelper-tp5735445p5735451.html
To unsubscribe from Error: no override found for 'vtkRayCastImageDisplayHelper', click here.
NAML

Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Aashish Chaudhary-2
I was wondering about that. When using SmartVolumeMapper, did you include its header in the mm file? If you are linking with vtkRenderingCore and vtkRenderingVolumeOpenGL and vtkRenderingVolume then it seems strange that you are running into this issue. 

- Aashish

On Wed, Dec 9, 2015 at 9:21 PM, YassminAbdallah <[hidden email]> wrote:
Hello,

i’m using the framework installed by the cmake, 

i really don’t know what’s the problem as “vtkOpenGLGPUVolumeRayCastMapper" work fine without any problem .

On Dec 10, 2015, at 4:09 AM, Aashish Chaudhary-2 [via VTK] <[hidden email]> wrote:

Are you using installed VTK libraries? Also, make sure you link with vtkRenderingVolumeOpenGL. 

On Wed, Dec 9, 2015 at 8:50 PM, Yassmin Abdallah <<a href="x-msg://27/user/SendEmail.jtp?type=node&amp;node=5735451&amp;i=0" target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:
Hello,

Thanks a lot for your reply,

i added them but those errors appear,

Undefined symbols for architecture x86_64:
  "vtkRenderingVolumeOpenGL_AutoInit_Destruct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::~vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
  "vtkRenderingVolumeOpenGL_AutoInit_Construct()", referenced from:
      vtkRenderingVolumeOpenGL_ModuleInit::vtkRenderingVolumeOpenGL_ModuleInit() in ViewController.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)



On Dec 10, 2015, at 1:24 AM, Imre Goretzki <<a href="x-msg://27/user/SendEmail.jtp?type=node&amp;node=5735451&amp;i=1" target="_top" rel="nofollow" link="external" class="">[hidden email]> wrote:

Hey
 #include <vtkAutoInit.h>
 VTK_MODULE_INIT(vtkRenderingOpenGL);
with 
vtkRenderingVolumeOpenGL
instead of
vtkRenderingOpenGL

http://www.vtk.org/Wiki/VTK/VTK_6_Migration/Factories_now_require_defines

Am 09.12.2015 um 20:44 schrieb YassminAbdallah:
Error: no override found for 'vtkRayCastImageDisplayHelper'

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




-- 
| Aashish Chaudhary 
| Technical Leader         
| Kitware Inc.            

_______________________________________________ 
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe: 
http://public.kitware.com/mailman/listinfo/vtkusers



If you reply to this email, your message will be added to the discussion below:
http://vtk.1045678.n5.nabble.com/Error-no-override-found-for-vtkRayCastImageDisplayHelper-tp5735445p5735451.html
To unsubscribe from Error: no override found for 'vtkRayCastImageDisplayHelper', click here.
NAML



View this message in context: Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Sent from the VTK - Users mailing list archive at Nabble.com.

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
Yes i included the header file,

i got bad access when initial with the error no override found,





_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Ken Martin
Maybe try adding

  vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0

Ken


On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah <[hidden email]> wrote:
Yes i included the header file,

i got bad access when initial with the error no override found,





_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Ken Martin
Sorry I was assuming you were on iOS based on prior emails. If on x86 etc then ignore what I said. 

On Thu, Dec 10, 2015 at 7:55 AM, Ken Martin <[hidden email]> wrote:
Maybe try adding

  vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0

Ken


On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah <[hidden email]> wrote:
Yes i included the header file,

i got bad access when initial with the error no override found,





_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.



--
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
No sir you are right, 

just added this line and it works fine,

    vtkObjectFactory::RegisterFactory(vtkRenderingOpenGL2ObjectFactory::New());

    

    vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

Thanks a lot. 



On Dec 10, 2015, at 2:57 PM, Ken Martin <[hidden email]> wrote:

Sorry I was assuming you were on iOS based on prior emails. If on x86 etc then ignore what I said. 

On Thu, Dec 10, 2015 at 7:55 AM, Ken Martin <[hidden email]> wrote:
Maybe try adding

  vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0

Ken


On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah <[hidden email]> wrote:
Yes i included the header file,

i got bad access when initial with the error no override found,

<Screen Shot 2015-12-10 at 6.53.27 AM.png>




_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank" class="">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.


_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Aashish Chaudhary-2
Thanks Ken. I see that in the example code you have added a call to RegisterFactory on OpenGL2. I am wondering why it is needed to make a explicit call to it? 

On Thu, Dec 10, 2015 at 8:03 AM, Yassmin Abdallah <[hidden email]> wrote:
No sir you are right, 

just added this line and it works fine,

    vtkObjectFactory::RegisterFactory(vtkRenderingOpenGL2ObjectFactory::New());

    

    vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

Thanks a lot. 



On Dec 10, 2015, at 2:57 PM, Ken Martin <[hidden email]> wrote:

Sorry I was assuming you were on iOS based on prior emails. If on x86 etc then ignore what I said. 

On Thu, Dec 10, 2015 at 7:55 AM, Ken Martin <[hidden email]> wrote:
Maybe try adding

  vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0

Ken


On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah <[hidden email]> wrote:
Yes i included the header file,

i got bad access when initial with the error no override found,

<Screen Shot 2015-12-10 at 6.53.27 AM.png>




_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Ken Martin
I do not know why it is required for me on iOS but it seemed that at least some times I do need it. Maybe an objective C setting on my Xcode projects or something with the cross compiled framework initialization. Not sure.

Thanks
Ken

On Thu, Dec 10, 2015 at 10:05 AM, Aashish Chaudhary <[hidden email]> wrote:
Thanks Ken. I see that in the example code you have added a call to RegisterFactory on OpenGL2. I am wondering why it is needed to make a explicit call to it? 

On Thu, Dec 10, 2015 at 8:03 AM, Yassmin Abdallah <[hidden email]> wrote:
No sir you are right, 

just added this line and it works fine,

    vtkObjectFactory::RegisterFactory(vtkRenderingOpenGL2ObjectFactory::New());

    

    vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

Thanks a lot. 



On Dec 10, 2015, at 2:57 PM, Ken Martin <[hidden email]> wrote:

Sorry I was assuming you were on iOS based on prior emails. If on x86 etc then ignore what I said. 

On Thu, Dec 10, 2015 at 7:55 AM, Ken Martin <[hidden email]> wrote:
Maybe try adding

  vtkObjectFactory::RegisterFactory(vtkRenderingVolumeOpenGL2ObjectFactory::New());

early on and make sure you are building vtk with the OpenGL ES version 3.0 versus 2.0

Ken


On Thu, Dec 10, 2015 at 12:00 AM, Yassmin Abdallah <[hidden email]> wrote:
Yes i included the header file,

i got bad access when initial with the error no override found,

<Screen Shot 2015-12-10 at 6.53.27 AM.png>




_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.



-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
<a href="tel:518%20371%203971" value="+15183713971" target="_blank">518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           



--
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and legally privileged information, and it is intended only for the use of the addressee.  Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken in reliance on it is prohibited and may be unlawful. If you received this communication in error please notify us immediately and destroy the original message.  Thank you.

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers
Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Yassmin
In reply to this post by Aashish Chaudhary-2
Hello,

when register with “vtkRenderingVolumeOpenGL2ObjectFactory” only, an error appears, 

Error: no override found for 'vtkRenderer’.

and when registervtkRenderingOpenGL2ObjectFactoryonly this error appears, 

Error: no override found for 'vtkRayCastImageDisplayHelper’.

when using any of volume mapper techniques i need to register the two of them so it works fine.

except vtkOpenGLGPUVolumeRayCastMapper” works fine with vtkRenderingOpenGL2ObjectFactoryonly



Reply | Threaded
Open this post in threaded view
|

Re: Error: no override found for 'vtkRayCastImageDisplayHelper'

Aashish Chaudhary-2
@Thank Ken for the explanation. 



On Thu, Dec 10, 2015 at 10:22 AM, YassminAbdallah <[hidden email]> wrote:
Hello,

when register with “vtkRenderingVolumeOpenGL2ObjectFactory” only, an error appears, 

Error: no override found for 'vtkRenderer’.

and when registervtkRenderingOpenGL2ObjectFactoryonly this error appears, 

Error: no override found for 'vtkRayCastImageDisplayHelper’.

when using any of volume mapper techniques i need to register the two of them so it works fine.

except vtkOpenGLGPUVolumeRayCastMapper” works fine with vtkRenderingOpenGL2ObjectFactoryonly

yes it all makes sense.  vtkRenderer is defined in vtkRenderingOpenGL and Volume classes are contained in the other module. So yes, you would need both. 



_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers




--
| Aashish Chaudhary
| Technical Leader         
| Kitware Inc.           

_______________________________________________
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 VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Search the list archives at: http://markmail.org/search/?q=vtkusers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers