Announcement

Collapse
No announcement yet.

change default images for ExaminerViewer buttons

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • change default images for ExaminerViewer buttons

    Is there a way to change the images for the ExaminerViewer buttons? I would like to change these images if i can. Does anyone know how?

  • #2
    Originally posted by jay.patel View Post
    Is there a way to change the images for the ExaminerViewer buttons? I would like to change these images if i can. Does anyone know how?
    It depends on what version of the ExaminerViewer you're using, i.e what platform, what window system and what language...

    If you're using C++ on Windows, take a look at this example:
    $OIVHOME/src/Inventor/examples/Techniques/ViewerButtons

    I should add that the ExaminerViewer buttons were never intended to be a production quality user interface for a real application. They're just a convenience for prototyping. The behaviors represented by the default buttons are available programmatically in the Viewer classes. We strongly encourage you to implement a real user interface using a toolkit designed for that purpose. We use Qt in our own applications (Amira and Avizo)...

    Comment


    • #3
      I haven't figured out a way to toggle the Viewer programmatically between trackball and pick modes. What method/property am I missing here? I'm using the .NET API.

      Comment


      • #4
        Originally posted by jkempner View Post
        I haven't figured out a way to toggle the Viewer programmatically between trackball and pick modes. What method/property am I missing here? I'm using the .NET API.
        You didn't say, so I'm assuming you are using the SoWin... classes.
        Just call SetViewing( true/false ) -- true means trackball mode.

        Comment


        • #5
          Thanks, that did the trick.

          Comment

          Working...
          X