Ignore:
Timestamp:
Mar 29, 2013, 4:34:31 AM (7 years ago)
Author:
ldelgass
Message:

More refactoring in nanovis flows: Rename FlowCmd? to Flow and move to separate
implementation module. Move statis NanoVis? methods to nanovis.cpp from
FlowCmd?.cpp, remove more unused classes and code.

File:
1 edited

Legend:

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

    r3567 r3597  
    1616#include "nanovis.h"        // For NMESH
    1717#include "FlowParticles.h"
    18 #include "FlowCmd.h"
     18#include "Flow.h"
    1919#include "Trace.h"
    2020
     
    4848    TRACE("Particles '%s' axis: %d pos: %g rel pos: %g",
    4949          _name.c_str(), _sv.position.axis, _sv.position.value,
    50           FlowCmd::getRelativePosition(&_sv.position));
     50          Flow::getRelativePosition(&_sv.position));
    5151
    52     _renderer->setPos(FlowCmd::getRelativePosition(&_sv.position));
     52    _renderer->setPos(Flow::getRelativePosition(&_sv.position));
    5353    _renderer->setAxis(_sv.position.axis);
    5454    assert(_renderer->active());
     
    5959FlowParticles::configure()
    6060{
    61     _renderer->setPos(FlowCmd::getRelativePosition(&_sv.position));
     61    _renderer->setPos(Flow::getRelativePosition(&_sv.position));
    6262    _renderer->setColor(Vector4f(_sv.color.r,
    6363                                 _sv.color.g,
Note: See TracChangeset for help on using the changeset viewer.