[SOLVED] CIS410-Project 7

25.99 $

Programming resource
Digital learning resource
Category:
✓ Practical programming resource
✓ Suitable for guided study and reference
✓ Tutor guidance available when needed

Description

Rate this product

Assignment:

  • Download skeleton          code    vtk
  • Download data     file       vtk
  • Compile and      run      and      make   sure    it          runs    correctly

You      will      do        a          series  of         seven  tasks   to         learn   VTK.                Each    time     you complete        a          task,    you      should make   a          copy    of         your    source.                        You will      be        handing          in         your    source code    for       each    task.                They   should be named proj7A.cxx,     proj7B.cxx,     proj7C.cxx,     …          proj7G.cxx.                             What   to upload?                      A          tarball with     8          files:    proj7A.cxx-proj7G.cxx          +          one screenshot     showing          proj7F.cxx      working.

What   are      the       seven  tasks?:

  1. Make the       visualization   window          be        768×768         when   the       program         is      first
  2. Add a          contour          filter    to         the       pipeline,          with     isovalues        at         4      &         4.
  3. Remove the       contour          filter    and      instead            slice     by        Z=0
  4. Modify the       vtkLookupTable        so        that     it          smoothly        interpolates   from    blue      at         the       minimum        to         red      at         the       maximum,      with     purple in
  5. Modify your    program         to         have    both    a          contour          and      a          slice         You     will      need    to         have    two      networks.
  6. Add two            Place   the       slice     in         the       left       renderer        and      the      contour          in         the       right.
  7. Modify your    program         to         iterate over           Start    with     1.0       and      add      0.01     all        the       way     up        to         6          (a         total    of         500     isovalues).      Render           each    new     value.  This     will      make   an        animation.

 

Resource details

Understand the Task Before You Use the Resource

Review the requirements, identify the programming concepts involved, study the implementation and test your understanding with your own examples and modifications.