Ignore:
Timestamp:
Jun 2, 2009, 12:05:08 PM (15 years ago)
Author:
vrinside
Message:

added 2d arrows (arrow tip will be added)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/FlowCmd.cpp

    r1478 r1484  
    561561        SetActive();
    562562    }
     563
     564    if (NanoVis::velocityArrowsSlice != NULL) {
     565        NanoVis::velocityArrowsSlice->vectorField(volPtr->id,
     566            //*(volPtr->get_location()),
     567            1.0f,
     568            volPtr->aspect_ratio_height / volPtr->aspect_ratio_width,
     569            volPtr->aspect_ratio_depth / volPtr->aspect_ratio_width
     570            //,volPtr->wAxis.max()
     571            );
     572    }
    563573    FlowParticles *particlesPtr;
    564574    FlowParticlesIterator partIter;
     
    10251035        // FIXME: This doesn't work when there is more than one flow.
    10261036        licRenderer->set_offset(flowPtr->GetRelativePosition());
     1037        NanoVis::velocityArrowsSlice->slicePos(flowPtr->GetRelativePosition());
     1038       
    10271039    }
    10281040    AdvectFlows();
Note: See TracChangeset for help on using the changeset viewer.