Ignore:
Timestamp:
Jun 5, 2011, 1:26:07 PM (13 years ago)
Author:
ldelgass
Message:
  • Convert to newer VTK pipeline methods where applicable: i.e. use

InputConnection/OutputPort? instead of Input/Output?. The old, deprecated
methods may be removed in VTK 6.

  • Disconnect vtkDataSet from reader pipeline after reading data. Allows reader

to be deleted ("garbage collected") after data is read. This also fixes a
potential read of freed memory (the memory allocated by the Tcl command
handler for the VTK data "file").

  • Remove vtkWarpScalar filter from HeightMap? pipeline when the height scaling

is set to zero.

  • Fix for removing clip planes when switching from image camera mode to

perspecive or ortho.

File:
1 edited

Legend:

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

    r2260 r2270  
    2727    virtual ~DataSet();
    2828
     29    bool setDataFile(const char *filename);
     30
    2931    bool setData(char *data, int nbytes);
     32
     33    bool setData(vtkDataSetReader *reader);
    3034
    3135    bool setData(vtkDataSet *ds);
    3236
    33     bool setData(vtkDataSetReader *reader);
    34 
    35     bool setDataFile(const char *filename);
     37    vtkDataSet *copyData(vtkDataSet *ds);
    3638
    3739    bool is2D() const;
Note: See TracChangeset for help on using the changeset viewer.