Ignore:
Timestamp:
Aug 17, 2011, 12:13:00 AM (13 years ago)
Author:
ldelgass
Message:
  • Color mode for streamlines to allow color mapping by scalar or vector data
  • Set active scalar/vector arrays on data sets
  • Constant color option for glyphs/streamlines
  • Fixes for face culling (2 glyph shapes have flipped faces)

Note that these changes will require some fixes for cumulative ranges on multiple data sets as well as legend rendering.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpVtkRenderer.h

    r2351 r2393  
    108108    bool setDataFile(const DataSetId& id, const char *filename);
    109109
     110    bool setDataSetActiveScalars(const DataSetId& id, const char *scalarName);
     111
     112    bool setDataSetActiveVectors(const DataSetId& id, const char *vectorName);
     113
    110114    double getDataValueAtPixel(const DataSetId& id, int x, int y);
    111115
     
    142146    void resetCamera(bool resetOrientation = true);
    143147
     148    void resetCameraClippingRange();
     149
    144150    void setCameraZoomRegion(double x, double y, double width, double height);
    145151
     
    150156    void rotateCamera(double yaw, double pitch, double roll);
    151157
    152     void setCameraOrientation(double quat[4], bool absolute = true);
     158    void setCameraOrientation(const double quat[4], bool absolute = true);
    153159
    154160    void panCamera(double x, double y, bool absolute = true);
     
    156162    void zoomCamera(double z, bool absolute = true);
    157163
    158     void setCameraOrientationAndPosition(double position[3],
    159                                          double focalPoint[3],
    160                                          double viewUp[3]);
     164    void setCameraOrientationAndPosition(const double position[3],
     165                                         const double focalPoint[3],
     166                                         const double viewUp[3]);
    161167
    162168    void getCameraOrientationAndPosition(double position[3],
     
    314320    void setGlyphsScale(const DataSetId& id, double scale[3]);
    315321
     322    void setGlyphsColor(const DataSetId& id, float color[3]);
     323
    316324    void setGlyphsEdgeVisibility(const DataSetId& id, bool state);
    317325
     
    544552
    545553    void setStreamlinesScale(const DataSetId& id, double scale[3]);
     554
     555    void setStreamlinesColor(const DataSetId& id, float color[3]);
    546556
    547557    void setStreamlinesEdgeVisibility(const DataSetId& id, bool state);
     
    587597
    588598    void setStreamlinesSeedVisibility(const DataSetId& id, bool state);
     599
     600    void setStreamlinesColorMode(const DataSetId& id, Streamlines::ColorMode mode);
    589601
    590602    void setStreamlinesColorMap(const DataSetId& id, const ColorMapId& colorMapId);
Note: See TracChangeset for help on using the changeset viewer.