Re: Parametric Curves rendered as points

Hi Steve,
To get VIsAD to render your helix as a curve, you need to
tell it about the topology of the points (it won't assume
that the 1-d sequence topology in domainT describes a
sequence topology in 3-D (rangeX,rangeY,rangeZ)).  To do
this, you can construct a Gridded3DSet with ManifoldDimension
 = 1, using the constructor
  Gridded3DSet(MathType type, float[][] samples, int lengthX)
where lengthX is the number of points and samples is dimensioned
float[3][lengthX], and type is a RealTupleType (rangeX,rangeY,rangeZ).
You can either represnet your helix data object as this Gridded3DSet,
or use this Gridded3DSet as the domain set of a Field (FlatField
or FieldImpl) that assigns dependent values along the helix.
Good luck, and please let us know if you have problems with this.
Bill Hibbard, SSEC, 1225 W. Dayton St., Madison, WI  53706
whibbard@xxxxxxxxxxxxx  608-263-4427  fax: 608-263-6738
"kill cross-platform Java by growing the polluted Java market"
   - from an internal Microsoft planning document

  • 1998 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the visad archives: