Ignore:
Timestamp:
Apr 16, 2013, 3:52:20 AM (7 years ago)
Author:
ldelgass
Message:

Nanovis refactoring to fix problems with scaling and multiple results.
Do rendering in world space to properly place and scale multiple data sets.
Also fix flows to reduce resets of animations. More work toward removing
Cg dependency. Fix panning to convert viewport coords to world coords.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/OrientationIndicator.h

    r3613 r3630  
    77#ifndef NV_ORIENTATION_INDICATOR_H
    88#define NV_ORIENTATION_INDICATOR_H
     9
     10#include <vrmath/Vector3f.h>
    911
    1012namespace nv {
     
    3537    }
    3638
     39    void setPosition(const vrmath::Vector3f& pos)
     40    {
     41        _position = pos;
     42    }
     43
     44    void setScale(const vrmath::Vector3f& scale)
     45    {
     46        _scale = scale;
     47    }
     48
    3749private:
    3850    Representation _rep;
     
    4052    float _lineWidth;
    4153    void *_quadric;
     54
     55    vrmath::Vector3f _position;
     56    vrmath::Vector3f _scale;
    4257};
    4358
Note: See TracChangeset for help on using the changeset viewer.