[Insight-developers] class name abbreviations

Miller, James V (Research) millerjv@crd.ge.com
Thu, 17 Apr 2003 11:50:44 -0400


At a minimum, you can probably drop the "Function" from these.

FunctionBase
Path
ParametricPath
***DifferentiableParametricPath***
FourierSeriesParametricPath

Is the DifferentiableParametricPath class needed? Won't all parametric paths
be differentiable? At polyline isn't differentiable at the vertices but you
can probably adopt a convention for the derivative at a vertex that is
suitable for the types of operations you want to do on a path. I imagine 
all the paths of interest here are at least C0. 

Along this train of thought, are there any paths that you cannot consider
parametric? If a path cannot be parameterized by arc-length, how do you walk
the path? I have used polylines are parametric curves for defining
ruled surfaces, probes into data sets, etc. So the hierarchy could be

FunctionBase
ParametricPath (or just Path)
FourierSeriesParametricPath (or just FourierSeriesPath)

(On a side note, what are you trying to take the derivative of?  The 
parametric curve? Or the (image) data under the curve? )

Another alternative is to follow the FEM pattern of using C0, C1, C2, etc.
to indicate the continuity of the path (and thus how many derivatives are
supported by the path). This may not be appropriate here since something
like a B-Spline class could represent any number of derivatives, with 
the programmer specifying at run-time the order of the spline.



> -----Original Message-----
> From: John M. Galeotti [mailto:jgaleotti@cmu.edu]
> Sent: Thursday, April 17, 2003 11:27 AM
> To: Luis Ibanez
> Cc: Lorensen, William E (Research);
> insight-developers@public.kitware.com
> Subject: Re: [Insight-developers] class name abbreviations
> 
> 
> I suppose a better question then would be how much I need to included 
> the names of parents in the names of children, when I intend for the 
> children to actually be used as instances of the parents.  In this 
> specific case, 
> FourierSeriesDifferentiableParametricFunctionPath would 
> actually be used as an argument to a function requiring a 
> DifferentiableParametricFunctionPath object, etc.  So, with that in 
> mind, is it still fine to drop the "DifferentiableParametricFunction" 
> part from the long FourierSeries... name?
> 
> FourierSeriesDifferentiableParametricFunctionPath derives from
> DifferentiableParametricFunctionPath which derives from
> ParametricFunctionPath which derives from
> Path which derives from
> FunctionBase
> 
> John
> jgaleotti@cmu.edu
> 
> On Thursday, April 17, 2003, at 10:47 AM, Luis Ibanez wrote:
> 
> >
> > John,
> >
> > I may be missing something here, but...
> > as far as I understand, Fourier Series are
> > always "Parametric" and are always "Differentiable",
> >
> > so it is probably safe to name the class just:
> >
> >       "FourierSeriesPath"
> >
> > It may still derive from a base class
> >
> >     "DifferentiableParametricPath"
> >
> >
> > If there is any functionality that can be factorized.
> >
> >
> >    Luis
> >
> >
> > ----------------------------------
> > Lorensen, William E (Research) wrote:
> >> How about
> >> FourierSeriesParametricPath
> >> FourierDifferentiableParametricPath
> >> FourierSeriesDifferentiablePath
> >> Your abbreviation is far too terse.
> >> Bill
> >> -----Original Message-----
> >> From: John M. Galeotti [mailto:jgaleotti@cmu.edu]
> >> Sent: Thursday, April 17, 2003 5:18 AM
> >> To: insight-developers@public.kitware.com
> >> Subject: [Insight-developers] class name abbreviations
> >> Although abbreviations are discouraged in ITK, I plan to 
> add a class 
> >> to ITK with a 49 character name, specifically  
> >> FourierSeriesDifferentiableParametricFunctionPath.  Is there a 
> >> standard way I should go about abbreviating some of those 
> words?  Is 
> >> the name FSDiffParamFuncPath to terse?
> >> John Galeotti
> >> jgaleotti@cmu.edu
> >> _______________________________________________
> >> Insight-developers mailing list
> >> Insight-developers@public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/insight-developers
> >> _______________________________________________
> >> Insight-developers mailing list
> >> Insight-developers@public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/insight-developers
> >
> >
> >
> > _______________________________________________
> > Insight-developers mailing list
> > Insight-developers@public.kitware.com
> > http://public.kitware.com/mailman/listinfo/insight-developers
> 
> _______________________________________________
> Insight-developers mailing list
> Insight-developers@public.kitware.com
> http://public.kitware.com/mailman/listinfo/insight-developers
>