Ignore:
Timestamp:
Mar 13, 2013 9:57:03 AM (11 years ago)
Author:
ldelgass
Message:

Fix camera reset for nanovis. Includes refactoring of vector/matrix classes
in nanovis to consolidate into vrmath library. Also add preliminary canonical
view control to clients for testing.

File:
1 edited

Legend:

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

    r2953 r3492  
    66#include <string>
    77
    8 #include "Vector3.h"
     8#include <vrmath/Vector3f.h>
     9#include <vrmath/Vector4f.h>
     10
    911#include "NvVectorField.h"
    1012
     
    2830    void render();
    2931
    30     void addVectorField(Volume *volPtr, const Vector3& ori, float scaleX,
     32    void addVectorField(Volume *volPtr, const vrmath::Vector3f& ori, float scaleX,
    3133                        float scaleY, float scaleZ, float max);
    3234
    33     void addVectorField(const std::string& vfName, Volume *volPtr, const Vector3& ori,
     35    void addVectorField(const std::string& vfName, Volume *volPtr, const vrmath::Vector3f& ori,
    3436                        float scaleX, float scaleY, float scaleZ, float max);
    3537
     
    5052    void setPlanePos(const std::string& vfName, const std::string& name, float pos);
    5153
    52     void setParticleColor(const std::string& vfName, const std::string& name, const Vector4& color);
     54    void setParticleColor(const std::string& vfName, const std::string& name, const vrmath::Vector4f& color);
    5355
    5456    void activatePlane(const std::string& vfName, const std::string& name);
Note: See TracChangeset for help on using the changeset viewer.