ActiViz .NET  5.8.0
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | Protected Member Functions | Static Private Member Functions
Kitware.VTK.vtkParametricRandomHills Class Reference

vtkParametricRandomHills - Generate a surface covered with randomly placed hills. More...

Inheritance diagram for Kitware.VTK.vtkParametricRandomHills:
[legend]
Collaboration diagram for Kitware.VTK.vtkParametricRandomHills:
[legend]

List of all members.

Public Member Functions

 vtkParametricRandomHills (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkParametricRandomHills ()
 Construct a surface of random hills with the following parameters: MinimumU = -10, MaximumU = 10, MinimumV = -10, MaximumV = 10, JoinU = 0, JoinV = 0, TwistU = 0, TwistV = 0; ClockwiseOrdering = 1, DerivativesAvailable = 0, Number of hills = 30, Variance of the hills 2.5 in both x- and y- directions, Scaling factor for the variances 1/3 in both x- and y- directions, Amplitude of each hill = 1, Scaling factor for the amplitude = 1/3, RandomSeed = 1, AllowRandomGeneration = 1.
virtual void AllowRandomGenerationOff ()
 Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.
virtual void AllowRandomGenerationOn ()
 Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.
override void Evaluate (IntPtr uvw, IntPtr Pt, IntPtr Duvw)
 Construct a terrain consisting of randomly placed hills on a surface.
override double EvaluateScalar (IntPtr uvw, IntPtr Pt, IntPtr Duvw)
 Calculate a user defined scalar using one or all of uvw, Pt, Duvw.
void GenerateTheHills ()
 Generate the centers of the hills, their standard deviations and their amplitudes. This function creates a series of vectors representing the u, v coordinates of each hill, its variance in the u, v directions and the amplitude.
virtual int GetAllowRandomGeneration ()
 Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.
virtual double GetAmplitudeScaleFactor ()
 Set/Get the scaling factor for the amplitude. Default is 1/3.
override int GetDimension ()
 Description Return the parametric dimension of the class.
virtual double GetHillAmplitude ()
 Set/Get the hill amplitude (height). Default is 2.
virtual double GetHillXVariance ()
 Set/Get the hill variance in the x-direction. Default is 2.5.
virtual double GetHillYVariance ()
 Set/Get the hill variance in the y-direction. Default is 2.5.
virtual int GetNumberOfHills ()
 Set/Get the number of hills. Default is 30.
virtual int GetRandomSeed ()
 Set/Get the Seed for the random number generator, a value of 1 will initialize the random number generator, a negative value will initialize it with the system time. Default is 1.
virtual double GetXVarianceScaleFactor ()
 Set/Get the scaling factor for the variance in the x-direction. Default is 1/3.
virtual double GetYVarianceScaleFactor ()
 Set/Get the scaling factor for the variance in the y-direction. Default is 1/3.
override int IsA (string type)
 *Undocumented Block
new vtkParametricRandomHills NewInstance ()
 *Undocumented Block
virtual void SetAllowRandomGeneration (int _arg)
 Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.
virtual void SetAmplitudeScaleFactor (double _arg)
 Set/Get the scaling factor for the amplitude. Default is 1/3.
virtual void SetHillAmplitude (double _arg)
 Set/Get the hill amplitude (height). Default is 2.
virtual void SetHillXVariance (double _arg)
 Set/Get the hill variance in the x-direction. Default is 2.5.
virtual void SetHillYVariance (double _arg)
 Set/Get the hill variance in the y-direction. Default is 2.5.
virtual void SetNumberOfHills (int _arg)
 Set/Get the number of hills. Default is 30.
virtual void SetRandomSeed (int _arg)
 Set/Get the Seed for the random number generator, a value of 1 will initialize the random number generator, a negative value will initialize it with the system time. Default is 1.
virtual void SetXVarianceScaleFactor (double _arg)
 Set/Get the scaling factor for the variance in the x-direction. Default is 1/3.
virtual void SetYVarianceScaleFactor (double _arg)
 Set/Get the scaling factor for the variance in the y-direction. Default is 1/3.
- Public Member Functions inherited from Kitware.VTK.vtkParametricFunction
 vtkParametricFunction (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
virtual void ClockwiseOrderingOff ()
 Set/Get the flag which determines the ordering of the the vertices forming the triangle strips. The ordering of the points being inserted into the triangle strip is important because it determines the direction of the normals for the lighting. If set, the ordering is clockwise, otherwise the ordering is anti-clockwise. Default is true (i.e. clockwise ordering).
virtual void ClockwiseOrderingOn ()
 Set/Get the flag which determines the ordering of the the vertices forming the triangle strips. The ordering of the points being inserted into the triangle strip is important because it determines the direction of the normals for the lighting. If set, the ordering is clockwise, otherwise the ordering is anti-clockwise. Default is true (i.e. clockwise ordering).
virtual void DerivativesAvailableOff ()
 Set/Get the flag which determines whether derivatives are available from the parametric function (i.e., whether the Evaluate() method returns valid derivatives).
virtual void DerivativesAvailableOn ()
 Set/Get the flag which determines whether derivatives are available from the parametric function (i.e., whether the Evaluate() method returns valid derivatives).
virtual int GetClockwiseOrdering ()
 Set/Get the flag which determines the ordering of the the vertices forming the triangle strips. The ordering of the points being inserted into the triangle strip is important because it determines the direction of the normals for the lighting. If set, the ordering is clockwise, otherwise the ordering is anti-clockwise. Default is true (i.e. clockwise ordering).
virtual int GetDerivativesAvailable ()
 Set/Get the flag which determines whether derivatives are available from the parametric function (i.e., whether the Evaluate() method returns valid derivatives).
virtual int GetJoinU ()
 Set/Get the flag which joins the first triangle strip to the last one.
virtual int GetJoinV ()
 Set/Get the flag which joins the the ends of the triangle strips.
virtual double GetMaximumU ()
 Set/Get the maximum u-value.
virtual double GetMaximumV ()
 Set/Get the maximum v-value.
virtual double GetMaximumW ()
 Set/Get the maximum w-value.
virtual double GetMinimumU ()
 Set/Get the minimum u-value.
virtual double GetMinimumV ()
 Set/Get the minimum v-value.
virtual double GetMinimumW ()
 Set/Get the minimum w-value.
virtual int GetTwistU ()
 Set/Get the flag which joins the first triangle strip to the last one with a twist. JoinU must also be set if this is set. Used when building some non-orientable surfaces.
virtual int GetTwistV ()
 Set/Get the flag which joins the ends of the triangle strips with a twist. JoinV must also be set if this is set. Used when building some non-orientable surfaces.
virtual void JoinUOff ()
 Set/Get the flag which joins the first triangle strip to the last one.
virtual void JoinUOn ()
 Set/Get the flag which joins the first triangle strip to the last one.
virtual void JoinVOff ()
 Set/Get the flag which joins the the ends of the triangle strips.
virtual void JoinVOn ()
 Set/Get the flag which joins the the ends of the triangle strips.
virtual void SetClockwiseOrdering (int _arg)
 Set/Get the flag which determines the ordering of the the vertices forming the triangle strips. The ordering of the points being inserted into the triangle strip is important because it determines the direction of the normals for the lighting. If set, the ordering is clockwise, otherwise the ordering is anti-clockwise. Default is true (i.e. clockwise ordering).
virtual void SetDerivativesAvailable (int _arg)
 Set/Get the flag which determines whether derivatives are available from the parametric function (i.e., whether the Evaluate() method returns valid derivatives).
virtual void SetJoinU (int _arg)
 Set/Get the flag which joins the first triangle strip to the last one.
virtual void SetJoinV (int _arg)
 Set/Get the flag which joins the the ends of the triangle strips.
virtual void SetMaximumU (double _arg)
 Set/Get the maximum u-value.
virtual void SetMaximumV (double _arg)
 Set/Get the maximum v-value.
virtual void SetMaximumW (double _arg)
 Set/Get the maximum w-value.
virtual void SetMinimumU (double _arg)
 Set/Get the minimum u-value.
virtual void SetMinimumV (double _arg)
 Set/Get the minimum v-value.
virtual void SetMinimumW (double _arg)
 Set/Get the minimum w-value.
virtual void SetTwistU (int _arg)
 Set/Get the flag which joins the first triangle strip to the last one with a twist. JoinU must also be set if this is set. Used when building some non-orientable surfaces.
virtual void SetTwistV (int _arg)
 Set/Get the flag which joins the ends of the triangle strips with a twist. JoinV must also be set if this is set. Used when building some non-orientable surfaces.
virtual void TwistUOff ()
 Set/Get the flag which joins the first triangle strip to the last one with a twist. JoinU must also be set if this is set. Used when building some non-orientable surfaces.
virtual void TwistUOn ()
 Set/Get the flag which joins the first triangle strip to the last one with a twist. JoinU must also be set if this is set. Used when building some non-orientable surfaces.
virtual void TwistVOff ()
 Set/Get the flag which joins the ends of the triangle strips with a twist. JoinV must also be set if this is set. Used when building some non-orientable surfaces.
virtual void TwistVOn ()
 Set/Get the flag which joins the ends of the triangle strips with a twist. JoinV must also be set if this is set. Used when building some non-orientable surfaces.
- Public Member Functions inherited from Kitware.VTK.vtkObject
 vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObject ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
uint AddObserver (uint arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
uint AddObserver (string arg0, vtkCommand arg1, float priority)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void DebugOff ()
 Turn debugging output off.
virtual void DebugOn ()
 Turn debugging output on.
vtkCommand GetCommand (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
byte GetDebug ()
 Get the value of the debug flag.
virtual uint GetMTime ()
 Return this object's modified time.
int HasObserver (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int HasObserver (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0, IntPtr callData)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
int InvokeEvent (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
virtual void Modified ()
 Update the modification time for this object. Many filters rely on the modification time to determine if they need to recompute their data. The modification time is a unique monotonically increasing unsigned long integer.
void RemoveAllObservers ()
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (vtkCommand arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObserver (uint tag)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0, vtkCommand arg1)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (uint arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void RemoveObservers (string arg0)
 This is a global flag that controls whether any debug, warning or error messages are displayed.
void SetDebug (byte debugFlag)
 Set the value of the debug flag. A non-zero value turns debugging on.
override string ToString ()
 Returns the result of calling vtkObject::Print as a C# string.
delegate void vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e)
 Generic signature for all vtkObject events.
void RemoveAllHandlersForAllEvents ()
 Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen...
- Public Member Functions inherited from Kitware.VTK.vtkObjectBase
 vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkObjectBase ()
 Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
virtual void Register (vtkObjectBase o)
 Increase the reference count (mark as used by another object).
virtual void FastDelete ()
 Delete a reference to this object. This version will not invoke garbage collection and can potentially leak the object if it is part of a reference loop. Use this method only when it is known that the object has another reference and would not be collected if a full garbage collection check were done.
string GetClassName ()
 Return the class name as a string. This method is defined in all subclasses of vtkObjectBase with the vtkTypeMacro found in vtkSetGet.h.
int GetReferenceCount ()
 Return the current reference count of this object.
void SetReferenceCount (int arg0)
 Sets the reference count. (This is very dangerous, use with care.)

Static Public Member Functions

static new vtkParametricRandomHills New ()
 Construct a surface of random hills with the following parameters: MinimumU = -10, MaximumU = 10, MinimumV = -10, MaximumV = 10, JoinU = 0, JoinV = 0, TwistU = 0, TwistV = 0; ClockwiseOrdering = 1, DerivativesAvailable = 0, Number of hills = 30, Variance of the hills 2.5 in both x- and y- directions, Scaling factor for the variances 1/3 in both x- and y- directions, Amplitude of each hill = 1, Scaling factor for the amplitude = 1/3, RandomSeed = 1, AllowRandomGeneration = 1.
static new int IsTypeOf (string type)
 *Undocumented Block
static new vtkParametricRandomHills SafeDownCast (vtkObjectBase o)
 *Undocumented Block

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkParametricRandomHills"
 Automatically generated type registration mechanics.
- Public Attributes inherited from Kitware.VTK.vtkParametricFunction
- Public Attributes inherited from Kitware.VTK.vtkObject
- Public Attributes inherited from Kitware.VTK.vtkObjectBase
- Public Attributes inherited from Kitware.VTK.WrappedObject
const string vtkChartsEL_dll = "libKitware.VTK.vtkCharts.Unmanaged.so"
 Export layer functions for 'vtkCharts' are exported from the DLL named by the value of this variable.
const string vtkCommonEL_dll = "libKitware.VTK.vtkCommon.Unmanaged.so"
 Export layer functions for 'vtkCommon' are exported from the DLL named by the value of this variable.
const string vtkFilteringEL_dll = "libKitware.VTK.vtkFiltering.Unmanaged.so"
 Export layer functions for 'vtkFiltering' are exported from the DLL named by the value of this variable.
const string vtkGenericFilteringEL_dll = "libKitware.VTK.vtkGenericFiltering.Unmanaged.so"
 Export layer functions for 'vtkGenericFiltering' are exported from the DLL named by the value of this variable.
const string vtkGeovisEL_dll = "libKitware.VTK.vtkGeovis.Unmanaged.so"
 Export layer functions for 'vtkGeovis' are exported from the DLL named by the value of this variable.
const string vtkGraphicsEL_dll = "libKitware.VTK.vtkGraphics.Unmanaged.so"
 Export layer functions for 'vtkGraphics' are exported from the DLL named by the value of this variable.
const string vtkHybridEL_dll = "libKitware.VTK.vtkHybrid.Unmanaged.so"
 Export layer functions for 'vtkHybrid' are exported from the DLL named by the value of this variable.
const string vtkIOEL_dll = "libKitware.VTK.vtkIO.Unmanaged.so"
 Export layer functions for 'vtkIO' are exported from the DLL named by the value of this variable.
const string vtkImagingEL_dll = "libKitware.VTK.vtkImaging.Unmanaged.so"
 Export layer functions for 'vtkImaging' are exported from the DLL named by the value of this variable.
const string vtkInfovisEL_dll = "libKitware.VTK.vtkInfovis.Unmanaged.so"
 Export layer functions for 'vtkInfovis' are exported from the DLL named by the value of this variable.
const string vtkParallelEL_dll = "libKitware.VTK.vtkParallel.Unmanaged.so"
 Export layer functions for 'vtkParallel' are exported from the DLL named by the value of this variable.
const string vtkRenderingEL_dll = "libKitware.VTK.vtkRendering.Unmanaged.so"
 Export layer functions for 'vtkRendering' are exported from the DLL named by the value of this variable.
const string vtkViewsEL_dll = "libKitware.VTK.vtkViews.Unmanaged.so"
 Export layer functions for 'vtkViews' are exported from the DLL named by the value of this variable.
const string vtkVolumeRenderingEL_dll = "libKitware.VTK.vtkVolumeRendering.Unmanaged.so"
 Export layer functions for 'vtkVolumeRendering' are exported from the DLL named by the value of this variable.
const string vtkWidgetsEL_dll = "libKitware.VTK.vtkWidgets.Unmanaged.so"
 Export layer functions for 'vtkWidgets' are exported from the DLL named by the value of this variable.

Static Public Attributes

static new readonly string MRClassNameKey = "24vtkParametricRandomHills"
 Automatically generated type registration mechanics.
- Static Public Attributes inherited from Kitware.VTK.vtkParametricFunction
- Static Public Attributes inherited from Kitware.VTK.vtkObject
- Static Public Attributes inherited from Kitware.VTK.vtkObjectBase

Protected Member Functions

override void Dispose (bool disposing)
 Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Static Private Member Functions

static vtkParametricRandomHills ()
 Automatically generated type registration mechanics.

Detailed Description

vtkParametricRandomHills - Generate a surface covered with randomly placed hills.

Description vtkParametricRandomHills generates a surface covered with randomly placed hills.

For further information about this surface, please consult the technical description "Parametric surfaces" in http://www.vtk.org/documents.php in the "VTK Technical Documents" section in the VTk.org web pages.

Thanks Andrew Maclean a.mac.nosp@m.lean.nosp@m.@cas..nosp@m.edu..nosp@m.au for creating and contributing the class.


Constructor & Destructor Documentation

static Kitware.VTK.vtkParametricRandomHills.vtkParametricRandomHills ( )
staticprivate

Automatically generated type registration mechanics.

Kitware.VTK.vtkParametricRandomHills.vtkParametricRandomHills ( IntPtr  rawCppThis,
bool  callDisposalMethod,
bool  strong 
)

Automatically generated constructor - called from generated code. DO NOT call directly.

Kitware.VTK.vtkParametricRandomHills.vtkParametricRandomHills ( )

Construct a surface of random hills with the following parameters: MinimumU = -10, MaximumU = 10, MinimumV = -10, MaximumV = 10, JoinU = 0, JoinV = 0, TwistU = 0, TwistV = 0; ClockwiseOrdering = 1, DerivativesAvailable = 0, Number of hills = 30, Variance of the hills 2.5 in both x- and y- directions, Scaling factor for the variances 1/3 in both x- and y- directions, Amplitude of each hill = 1, Scaling factor for the amplitude = 1/3, RandomSeed = 1, AllowRandomGeneration = 1.


Member Function Documentation

virtual void Kitware.VTK.vtkParametricRandomHills.AllowRandomGenerationOff ( )
virtual

Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.

virtual void Kitware.VTK.vtkParametricRandomHills.AllowRandomGenerationOn ( )
virtual

Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.

override void Kitware.VTK.vtkParametricRandomHills.Dispose ( bool  disposing)
protected

Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.

Reimplemented from Kitware.VTK.vtkParametricFunction.

override void Kitware.VTK.vtkParametricRandomHills.Evaluate ( IntPtr  uvw,
IntPtr  Pt,
IntPtr  Duvw 
)
virtual

Construct a terrain consisting of randomly placed hills on a surface.

It is assumed that the function GenerateTheHills() has been executed to build the vectors of coordinates required to generate the point Pt. Pt represents the sum of all the amplitudes over the space.

This function performs the mapping $f(u,v) \rightarrow (x,y,x)$, returning it as Pt. It also returns the partial derivatives Du and Dv. $Pt = (x, y, z), Du = (dx/du, dy/du, dz/du), Dv = (dx/dv, dy/dv, dz/dv)$ . Then the normal is $N = Du X Dv$ .

Reimplemented from Kitware.VTK.vtkParametricFunction.

override double Kitware.VTK.vtkParametricRandomHills.EvaluateScalar ( IntPtr  uvw,
IntPtr  Pt,
IntPtr  Duvw 
)
virtual

Calculate a user defined scalar using one or all of uvw, Pt, Duvw.

uvw are the parameters with Pt being the the Cartesian point, Duvw are the derivatives of this point with respect to u, v and w. Pt, Duvw are obtained from Evaluate().

This function is only called if the ScalarMode has the value vtkParametricFunctionSource::SCALAR_FUNCTION_DEFINED

If the user does not need to calculate a scalar, then the instantiated function should return zero.

Reimplemented from Kitware.VTK.vtkParametricFunction.

void Kitware.VTK.vtkParametricRandomHills.GenerateTheHills ( )

Generate the centers of the hills, their standard deviations and their amplitudes. This function creates a series of vectors representing the u, v coordinates of each hill, its variance in the u, v directions and the amplitude.

NOTE: This function must be called whenever any of the parameters are changed.

virtual int Kitware.VTK.vtkParametricRandomHills.GetAllowRandomGeneration ( )
virtual

Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.

virtual double Kitware.VTK.vtkParametricRandomHills.GetAmplitudeScaleFactor ( )
virtual

Set/Get the scaling factor for the amplitude. Default is 1/3.

override int Kitware.VTK.vtkParametricRandomHills.GetDimension ( )
virtual

Description Return the parametric dimension of the class.

Reimplemented from Kitware.VTK.vtkParametricFunction.

virtual double Kitware.VTK.vtkParametricRandomHills.GetHillAmplitude ( )
virtual

Set/Get the hill amplitude (height). Default is 2.

virtual double Kitware.VTK.vtkParametricRandomHills.GetHillXVariance ( )
virtual

Set/Get the hill variance in the x-direction. Default is 2.5.

virtual double Kitware.VTK.vtkParametricRandomHills.GetHillYVariance ( )
virtual

Set/Get the hill variance in the y-direction. Default is 2.5.

virtual int Kitware.VTK.vtkParametricRandomHills.GetNumberOfHills ( )
virtual

Set/Get the number of hills. Default is 30.

virtual int Kitware.VTK.vtkParametricRandomHills.GetRandomSeed ( )
virtual

Set/Get the Seed for the random number generator, a value of 1 will initialize the random number generator, a negative value will initialize it with the system time. Default is 1.

virtual double Kitware.VTK.vtkParametricRandomHills.GetXVarianceScaleFactor ( )
virtual

Set/Get the scaling factor for the variance in the x-direction. Default is 1/3.

virtual double Kitware.VTK.vtkParametricRandomHills.GetYVarianceScaleFactor ( )
virtual

Set/Get the scaling factor for the variance in the y-direction. Default is 1/3.

override int Kitware.VTK.vtkParametricRandomHills.IsA ( string  type)
virtual

*Undocumented Block

Reimplemented from Kitware.VTK.vtkParametricFunction.

static new int Kitware.VTK.vtkParametricRandomHills.IsTypeOf ( string  type)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkParametricFunction.

static new vtkParametricRandomHills Kitware.VTK.vtkParametricRandomHills.New ( )
static

Construct a surface of random hills with the following parameters: MinimumU = -10, MaximumU = 10, MinimumV = -10, MaximumV = 10, JoinU = 0, JoinV = 0, TwistU = 0, TwistV = 0; ClockwiseOrdering = 1, DerivativesAvailable = 0, Number of hills = 30, Variance of the hills 2.5 in both x- and y- directions, Scaling factor for the variances 1/3 in both x- and y- directions, Amplitude of each hill = 1, Scaling factor for the amplitude = 1/3, RandomSeed = 1, AllowRandomGeneration = 1.

Reimplemented from Kitware.VTK.vtkObject.

new vtkParametricRandomHills Kitware.VTK.vtkParametricRandomHills.NewInstance ( )

*Undocumented Block

Reimplemented from Kitware.VTK.vtkParametricFunction.

static new vtkParametricRandomHills Kitware.VTK.vtkParametricRandomHills.SafeDownCast ( vtkObjectBase  o)
static

*Undocumented Block

Reimplemented from Kitware.VTK.vtkParametricFunction.

Here is the call graph for this function:

virtual void Kitware.VTK.vtkParametricRandomHills.SetAllowRandomGeneration ( int  _arg)
virtual

Set/Get the random generation flag. A value of 0 will disable the generation of random hills on the surface. This allows a reproducible shape to be generated. Any other value means that the generation of the hills will be done randomly. Default is 1.

virtual void Kitware.VTK.vtkParametricRandomHills.SetAmplitudeScaleFactor ( double  _arg)
virtual

Set/Get the scaling factor for the amplitude. Default is 1/3.

virtual void Kitware.VTK.vtkParametricRandomHills.SetHillAmplitude ( double  _arg)
virtual

Set/Get the hill amplitude (height). Default is 2.

virtual void Kitware.VTK.vtkParametricRandomHills.SetHillXVariance ( double  _arg)
virtual

Set/Get the hill variance in the x-direction. Default is 2.5.

virtual void Kitware.VTK.vtkParametricRandomHills.SetHillYVariance ( double  _arg)
virtual

Set/Get the hill variance in the y-direction. Default is 2.5.

virtual void Kitware.VTK.vtkParametricRandomHills.SetNumberOfHills ( int  _arg)
virtual

Set/Get the number of hills. Default is 30.

virtual void Kitware.VTK.vtkParametricRandomHills.SetRandomSeed ( int  _arg)
virtual

Set/Get the Seed for the random number generator, a value of 1 will initialize the random number generator, a negative value will initialize it with the system time. Default is 1.

virtual void Kitware.VTK.vtkParametricRandomHills.SetXVarianceScaleFactor ( double  _arg)
virtual

Set/Get the scaling factor for the variance in the x-direction. Default is 1/3.

virtual void Kitware.VTK.vtkParametricRandomHills.SetYVarianceScaleFactor ( double  _arg)
virtual

Set/Get the scaling factor for the variance in the y-direction. Default is 1/3.


Member Data Documentation

new readonly string Kitware.VTK.vtkParametricRandomHills.MRClassNameKey = "24vtkParametricRandomHills"
static

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkParametricFunction.

new const string Kitware.VTK.vtkParametricRandomHills.MRFullTypeName = "Kitware.VTK.vtkParametricRandomHills"

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkParametricFunction.


The documentation for this class was generated from the following file: