ActiViz .NET
5.8.0
|
vtkMath - performs common math operations More...
Public Member Functions | |
vtkMath (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. | |
vtkMath () | |
Undocumented Block | |
override int | IsA (string type) |
Undocumented Block | |
new vtkMath | NewInstance () |
Undocumented Block | |
![]() | |
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... | |
![]() | |
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 vtkMath | New () |
Undocumented Block | |
static void | Add (IntPtr a, IntPtr b, IntPtr c) |
Addition of two 3-vectors (float version). Result is stored in c. | |
static int | AreBoundsInitialized (IntPtr bounds) |
Are the bounds initialized? | |
static IntPtr | BeginCombination (int m, int n) |
Start iterating over "m choose n" objects. This function returns an array of n integers, each from 0 to m-1. These integers represent the n items chosen from the set [0,m[. | |
static long | Binomial (int m, int n) |
The number of combinations of n objects from a pool of m objects (m>n). This is commonly known as "m choose n" and sometimes denoted ![]() ![]() | |
static int | BoundsIsWithinOtherBounds (IntPtr bounds1, IntPtr bounds2, IntPtr delta) |
Return true if first 3D bounds is within the second 3D bounds Bounds is x-min, x-max, y-min, y-max, z-min, z-max Delta is the error margin along each axis (usually a small number) | |
static int | Ceil (double x) |
| |
static double | ClampAndNormalizeValue (double value, IntPtr range) |
| |
static void | ClampValue (IntPtr value, IntPtr range) |
| |
static void | ClampValue (double value, IntPtr range, IntPtr clamped_value) |
| |
static void | ClampValues (IntPtr values, int nb_values, IntPtr range) |
Clamp some values against a range The method without 'clamped_values' will perform in-place clamping. | |
static void | ClampValues (IntPtr values, int nb_values, IntPtr range, IntPtr clamped_values) |
Clamp some values against a range The method without 'clamped_values' will perform in-place clamping. | |
static void | Cross (IntPtr x, IntPtr y, IntPtr z) |
Cross product of two 3-vectors. Result (a x b) is stored in z[3]. | |
static float | DegreesFromRadians (float x) |
| |
static double | DegreesFromRadians (double x) |
| |
static float | Determinant2x2 (IntPtr c1, IntPtr c2) |
Compute determinant of 2x2 matrix. Two columns of matrix are input. | |
static double | Determinant2x2 (double a, double b, double c, double d) |
Calculate the determinant of a 2x2 matrix: | a b | | c d | | |
static float | Determinant3x3 (IntPtr c1, IntPtr c2, IntPtr c3) |
| |
static double | Determinant3x3 (double a1, double a2, double a3, double b1, double b2, double b3, double c1, double c2, double c3) |
| |
static float | Distance2BetweenPoints (IntPtr x, IntPtr y) |
| |
static float | Dot (IntPtr x, IntPtr y) |
Dot product of two 3-vectors (float version). | |
static float | Dot2D (IntPtr x, IntPtr y) |
Dot product of two 2-vectors. | |
static double | DoublePi () |
A mathematical constant (double-precision version). This version is 3.1415926535897932384626. | |
static double | DoubleTwoPi () |
A mathematical constant (double-precision version). This version is 6.283185307179586. | |
static int | ExtentIsWithinOtherExtent (IntPtr extent1, IntPtr extent2) |
Return true if first 3D extent is within second 3D extent Extent is x-min, x-max, y-min, y-max, z-min, z-max | |
static long | Factorial (int N) |
| |
static int | Floor (double x) |
| |
static void | FreeCombination (IntPtr combination) |
Free the "iterator" array created by vtkMath::BeginCombination. | |
static double | Gaussian () |
Generate pseudo-random numbers distributed according to the standard normal distribution. | |
static double | Gaussian (double mean, double std) |
Generate pseudo-random numbers distributed according to the Gaussian distribution with mean mean and standard deviation std. | |
static double | GaussianAmplitude (double variance, double distanceFromMean) |
Compute the amplitude of a Gaussian function with mean=0 and specified variance. That is, 1./(sqrt(2 Pi * variance)) * exp(-distanceFromMean^2/(2.*variance)). | |
static double | GaussianAmplitude (double mean, double variance, double position) |
Compute the amplitude of a Gaussian function with specified mean and variance. That is, 1./(sqrt(2 Pi * variance)) * exp(-(position - mean)^2/(2.*variance)). | |
static double | GaussianWeight (double variance, double distanceFromMean) |
Compute the amplitude of an unnormalized Gaussian function with mean=0 and specified variance. That is, exp(-distanceFromMean^2/(2.*variance)). When distanceFromMean = 0, this function returns 1. | |
static double | GaussianWeight (double mean, double variance, double position) |
Compute the amplitude of an unnormalized Gaussian function with specified mean and variance. That is, exp(-(position - mean)^2/(2.*variance)). When the distance from 'position' to 'mean' is 0, this function returns 1. | |
static int | GetAdjustedScalarRange (vtkDataArray array, int comp, IntPtr range) |
Get a vtkDataArray's scalar range for a given component. If the vtkDataArray's data type is unsigned char (VTK_UNSIGNED_CHAR) the range is adjusted to the whole data type range [0, 255.0]. Same goes for unsigned short (VTK_UNSIGNED_SHORT) but the upper bound is also adjusted down to 4095.0 if was between ]255, 4095.0]. Return 1 on success, 0 otherwise. | |
static int | GetScalarTypeFittingRange (double range_min, double range_max, double scale, double shift) |
Return the scalar type that is most likely to have enough precision to store a given range of data once it has been scaled and shifted (i.e. [range_min * scale + shift, range_max * scale + shift]. If any one of the parameters is not an integer number (decimal part != 0), the search will default to float types only (float or double) Return -1 on error or no scalar type found. | |
static int | GetSeed () |
Return the current seed used by the random number generator. | |
static void | HSVToRGB (IntPtr hsv, IntPtr rgb) |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified. | |
static void | HSVToRGB (float h, float s, float v, IntPtr r, IntPtr g, IntPtr b) |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified. | |
static double[] | HSVToRGB (IntPtr hsv) |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified. | |
static double[] | HSVToRGB (double h, double s, double v) |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified. | |
static void | HSVToRGB (double h, double s, double v, IntPtr r, IntPtr g, IntPtr b) |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified. | |
static double | Inf () |
Special IEEE-754 number used to represent positive infinity. | |
static int | IsInf (double x) |
Test if a number is equal to the special floating point value infinity. | |
static int | IsNan (double x) |
Test if a number is equal to the special floating point value Not-A-Number (Nan). | |
static new int | IsTypeOf (string type) |
Undocumented Block | |
static void | LabToRGB (IntPtr lab, IntPtr rgb) |
Convert color from the CIE-L*ab system to RGB. | |
static void | LabToRGB (double L, double a, double b, IntPtr red, IntPtr green, IntPtr blue) |
Convert color from the CIE-L*ab system to RGB. | |
static IntPtr | LabToRGB (IntPtr lab) |
Convert color from the CIE-L*ab system to RGB. | |
static void | LabToXYZ (IntPtr lab, IntPtr xyz) |
Convert color from the CIE-L*ab system to CIE XYZ. | |
static void | LabToXYZ (double L, double a, double b, IntPtr x, IntPtr y, IntPtr z) |
Convert color from the CIE-L*ab system to CIE XYZ. | |
static IntPtr | LabToXYZ (IntPtr lab) |
Convert color from the CIE-L*ab system to CIE XYZ. | |
static void | MultiplyScalar (IntPtr a, float s) |
Multiplies a 3-vector by a scalar (float version). This modifies the input 3-vector. | |
static void | MultiplyScalar (IntPtr a, double s) |
Multiplies a 3-vector by a scalar (double version). This modifies the input 3-vector. | |
static void | MultiplyScalar2D (IntPtr a, float s) |
Multiplies a 2-vector by a scalar (float version). This modifies the input 2-vector. | |
static void | MultiplyScalar2D (IntPtr a, double s) |
Multiplies a 2-vector by a scalar (double version). This modifies the input 2-vector. | |
static double | Nan () |
Special IEEE-754 number used to represent Not-A-Number (Nan). | |
static double | NegInf () |
Special IEEE-754 number used to represent negative infinity. | |
static int | NextCombination (int m, int n, IntPtr combination) |
Given m, n, and a valid combination of n integers in the range [0,m[, this function alters the integers into the next combination in a sequence of all combinations of n items from a pool of m. | |
static float | Norm (IntPtr x, int n) |
Compute the norm of n-vector. x is the vector, n is its length. | |
static float | Norm (IntPtr x) |
Compute the norm of 3-vector. | |
static float | Norm2D (IntPtr x) |
Compute the norm of a 2-vector. | |
static float | Normalize (IntPtr x) |
| |
static float | Normalize2D (IntPtr x) |
| |
static void | Perpendiculars (IntPtr x, IntPtr y, IntPtr z, double theta) |
Given a unit vector x, find two unit vectors y and z such that x cross y = z (i.e. the vectors are perpendicular to each other). There is an infinite number of such vectors, specify an angle theta to choose one set. If you want only one perpendicular vector, specify NULL for z. | |
static float | Pi () |
A mathematical constant. This version is 3.14159265358979f. | |
static int | PointIsWithinBounds (IntPtr point, IntPtr bounds, IntPtr delta) |
Return true if point is within the given 3D bounds Bounds is x-min, x-max, y-min, y-max, z-min, z-max Delta is the error margin along each axis (usually a small number) | |
static bool | ProjectVector (IntPtr a, IntPtr b, IntPtr projection) |
Compute the projection of vector a on vector b and return it in projection[3]. If b is a zero vector, the function returns false and 'projection' is invalid. Otherwise, it returns true. | |
static bool | ProjectVector2D (IntPtr a, IntPtr b, IntPtr projection) |
Compute the projection of 2D vector 'a' on 2D vector 'b' and returns the result in projection[2]. If b is a zero vector, the function returns false and 'projection' is invalid. Otherwise, it returns true. | |
static void | RGBToHSV (IntPtr rgb, IntPtr hsv) |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified. | |
static void | RGBToHSV (float r, float g, float b, IntPtr h, IntPtr s, IntPtr v) |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified. | |
static double[] | RGBToHSV (IntPtr rgb) |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified. | |
static double[] | RGBToHSV (double r, double g, double b) |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified. | |
static void | RGBToHSV (double r, double g, double b, IntPtr h, IntPtr s, IntPtr v) |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified. | |
static void | RGBToLab (IntPtr rgb, IntPtr lab) |
Convert color from the RGB system to CIE-L*ab. | |
static void | RGBToLab (double red, double green, double blue, IntPtr L, IntPtr a, IntPtr b) |
Convert color from the RGB system to CIE-L*ab. | |
static IntPtr | RGBToLab (IntPtr rgb) |
Convert color from the RGB system to CIE-L*ab. | |
static void | RGBToXYZ (IntPtr rgb, IntPtr xyz) |
Convert color from the RGB system to CIE XYZ. | |
static void | RGBToXYZ (double r, double g, double b, IntPtr x, IntPtr y, IntPtr z) |
Convert color from the RGB system to CIE XYZ. | |
static IntPtr | RGBToXYZ (IntPtr rgb) |
Convert color from the RGB system to CIE XYZ. | |
static float | RadiansFromDegrees (float x) |
| |
static double | RadiansFromDegrees (double x) |
| |
static double | Random () |
Generate pseudo-random numbers distributed according to the uniform distribution between 0.0 and 1.0. This is used to provide portability across different systems. | |
static double | Random (double min, double max) |
Generate pseudo-random numbers distributed according to the uniform distribution between min and max. | |
static void | RandomSeed (int s) |
Initialize seed value. NOTE: Random() has the bad property that the first random number returned after RandomSeed() is called is proportional to the seed value! To help solve this, call RandomSeed() a few times inside seed. This doesn't ruin the repeatability of Random(). | |
static int | Round (float f) |
Rounds a float to the nearest integer. | |
static int | Round (double f) |
Rounds a float to the nearest integer. | |
static new vtkMath | SafeDownCast (vtkObjectBase o) |
Undocumented Block | |
static double | Solve3PointCircle (IntPtr p1, IntPtr p2, IntPtr p3, IntPtr center) |
In Euclidean space, there is a unique circle passing through any given three non-collinear points P1, P2, and P3. Using Cartesian coordinates to represent these points as spatial vectors, it is possible to use the dot product and cross product to calculate the radius and center of the circle. See: http://en.wikipedia.org/wiki/Circumcircle and more specifically the section Barycentric coordinates from cross- and dot-products | |
static void | Subtract (IntPtr a, IntPtr b, IntPtr c) |
Subtraction of two 3-vectors (float version). Result is stored in c according to c = a - b. | |
static void | UninitializeBounds (IntPtr bounds) |
Set the bounds to an uninitialized state | |
static void | XYZToLab (IntPtr xyz, IntPtr lab) |
Convert Color from the CIE XYZ system to CIE-L*ab. | |
static void | XYZToLab (double x, double y, double z, IntPtr L, IntPtr a, IntPtr b) |
Convert Color from the CIE XYZ system to CIE-L*ab. | |
static IntPtr | XYZToLab (IntPtr xyz) |
Convert Color from the CIE XYZ system to CIE-L*ab. | |
static void | XYZToRGB (IntPtr xyz, IntPtr rgb) |
Convert color from the CIE XYZ system to RGB. | |
static void | XYZToRGB (double x, double y, double z, IntPtr r, IntPtr g, IntPtr b) |
Convert color from the CIE XYZ system to RGB. | |
static IntPtr | XYZToRGB (IntPtr xyz) |
Convert color from the CIE XYZ system to RGB. | |
![]() | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkMath" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. | |
![]() | |
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 = "7vtkMath" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkObjectBase" |
Automatically generated type registration mechanics. |
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 | vtkMath () |
Automatically generated type registration mechanics. |
Additional Inherited Members | |
![]() | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AbortCheckEvt |
The AbortCheckEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AbortCheckEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnimationCueTickEvt |
The AnimationCueTickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnimationCueTickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | AnyEvt |
The AnyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.AnyEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CharEvt |
The CharEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CharEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConfigureEvt |
The ConfigureEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConfigureEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionClosedEvt |
The ConnectionClosedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionClosedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ConnectionCreatedEvt |
The ConnectionCreatedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ConnectionCreatedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CreateTimerEvt |
The CreateTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CreateTimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | CursorChangedEvt |
The CursorChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.CursorChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DeleteEvt |
The DeleteEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DeleteEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DestroyTimerEvt |
The DestroyTimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DestroyTimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DisableEvt |
The DisableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DisableEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | DomainModifiedEvt |
The DomainModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.DomainModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnableEvt |
The EnableEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnableEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndAnimationCueEvt |
The EndAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndAnimationCueEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndEvt |
The EndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndInteractionEvt |
The EndInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndInteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndPickEvt |
The EndPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndPickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EndWindowLevelEvt |
The EndWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EndWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | EnterEvt |
The EnterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.EnterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ErrorEvt |
The ErrorEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ErrorEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExecuteInformationEvt |
The ExecuteInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExecuteInformationEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExitEvt |
The ExitEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExitEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ExposeEvt |
The ExposeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ExposeEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | InteractionEvt |
The InteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.InteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyPressEvt |
The KeyPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | KeyReleaseEvt |
The KeyReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.KeyReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeaveEvt |
The LeaveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeaveEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonPressEvt |
The LeftButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | LeftButtonReleaseEvt |
The LeftButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.LeftButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonPressEvt |
The MiddleButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MiddleButtonReleaseEvt |
The MiddleButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MiddleButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ModifiedEvt |
The ModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseMoveEvt |
The MouseMoveEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseMoveEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelBackwardEvt |
The MouseWheelBackwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelBackwardEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | MouseWheelForwardEvt |
The MouseWheelForwardEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.MouseWheelForwardEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PickEvt |
The PickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlacePointEvt |
The PlacePointEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlacePointEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PlaceWidgetEvt |
The PlaceWidgetEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PlaceWidgetEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ProgressEvt |
The ProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | PropertyModifiedEvt |
The PropertyModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.PropertyModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RegisterEvt |
The RegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RegisterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderEvt |
The RenderEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RenderWindowMessageEvt |
The RenderWindowMessageEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RenderWindowMessageEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraClippingRangeEvt |
The ResetCameraClippingRangeEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraClippingRangeEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetCameraEvt |
The ResetCameraEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetCameraEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | ResetWindowLevelEvt |
The ResetWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.ResetWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonPressEvt |
The RightButtonPressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonPressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | RightButtonReleaseEvt |
The RightButtonReleaseEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.RightButtonReleaseEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SelectionChangedEvt |
The SelectionChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SelectionChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | SetOutputEvt |
The SetOutputEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.SetOutputEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartAnimationCueEvt |
The StartAnimationCueEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartAnimationCueEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartEvt |
The StartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartInteractionEvt |
The StartInteractionEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartInteractionEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartPickEvt |
The StartPickEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartPickEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | StartWindowLevelEvt |
The StartWindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.StartWindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | TimerEvt |
The TimerEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.TimerEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UnRegisterEvt |
The UnRegisterEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UnRegisterEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateEvt |
The UpdateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdateInformationEvt |
The UpdateInformationEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdateInformationEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | UpdatePropertyEvt |
The UpdatePropertyEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.UpdatePropertyEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsEndEvt |
The VolumeMapperComputeGradientsEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsEndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsProgressEvt |
The VolumeMapperComputeGradientsProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperComputeGradientsStartEvt |
The VolumeMapperComputeGradientsStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperComputeGradientsStartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderEndEvt |
The VolumeMapperRenderEndEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderEndEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderProgressEvt |
The VolumeMapperRenderProgressEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderProgressEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | VolumeMapperRenderStartEvt |
The VolumeMapperRenderStartEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.VolumeMapperRenderStartEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WarningEvt |
The WarningEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WarningEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetActivateEvt |
The WidgetActivateEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetActivateEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetModifiedEvt |
The WidgetModifiedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetModifiedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WidgetValueChangedEvt |
The WidgetValueChangedEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WidgetValueChangedEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WindowLevelEvt |
The WindowLevelEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WindowLevelEvent as the eventId parameter. | |
Kitware.VTK.vtkObject.vtkObjectEventHandler | WrongTagEvt |
The WrongTagEvt event is invoked when the sender's InvokeEvent method is called with vtkCommand.EventIds.WrongTagEvent as the eventId parameter. |
vtkMath - performs common math operations
Description vtkMath provides methods to perform common math operations. These include providing constants such as Pi; conversion from degrees to radians; vector operations such as dot and cross products and vector norm; matrix determinant for 2x2 and 3x3 matrices; univariate polynomial solvers; and for random number generation (for backward compatibility only).
vtkMinimalStandardRandomSequence, vtkBoxMuellerRandomSequence
|
staticprivate |
Automatically generated type registration mechanics.
Kitware.VTK.vtkMath.vtkMath | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Kitware.VTK.vtkMath.vtkMath | ( | ) |
Undocumented Block
|
static |
Addition of two 3-vectors (float version). Result is stored in c.
|
static |
Are the bounds initialized?
|
static |
Start iterating over "m choose n" objects. This function returns an array of n integers, each from 0 to m-1. These integers represent the n items chosen from the set [0,m[.
You are responsible for calling vtkMath::FreeCombination() once the iterator is no longer needed.
Warning: this gets large very quickly, especially when n nears m/2! (Hint: think of Pascal's triangle.)
|
static |
The number of combinations of n objects from a pool of m objects (m>n). This is commonly known as "m choose n" and sometimes denoted or
.
|
static |
Return true if first 3D bounds is within the second 3D bounds Bounds is x-min, x-max, y-min, y-max, z-min, z-max Delta is the error margin along each axis (usually a small number)
|
static |
|
static |
|
static |
|
static |
|
static |
Clamp some values against a range The method without 'clamped_values' will perform in-place clamping.
|
static |
Clamp some values against a range The method without 'clamped_values' will perform in-place clamping.
|
static |
|
static |
|
static |
|
static |
Compute determinant of 2x2 matrix. Two columns of matrix are input.
|
static |
Calculate the determinant of a 2x2 matrix: | a b | | c d |
|
static |
|
static |
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
Reimplemented from Kitware.VTK.vtkObject.
|
static |
|
static |
Dot product of two 3-vectors (float version).
|
static |
Dot product of two 2-vectors.
|
static |
A mathematical constant (double-precision version). This version is 3.1415926535897932384626.
|
static |
A mathematical constant (double-precision version). This version is 6.283185307179586.
|
static |
Return true if first 3D extent is within second 3D extent Extent is x-min, x-max, y-min, y-max, z-min, z-max
|
static |
|
static |
|
static |
Free the "iterator" array created by vtkMath::BeginCombination.
|
static |
Generate pseudo-random numbers distributed according to the standard normal distribution.
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Generate pseudo-random numbers distributed according to the Gaussian distribution with mean mean and standard deviation std.
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Compute the amplitude of a Gaussian function with mean=0 and specified variance. That is, 1./(sqrt(2 Pi * variance)) * exp(-distanceFromMean^2/(2.*variance)).
|
static |
Compute the amplitude of a Gaussian function with specified mean and variance. That is, 1./(sqrt(2 Pi * variance)) * exp(-(position - mean)^2/(2.*variance)).
|
static |
Compute the amplitude of an unnormalized Gaussian function with mean=0 and specified variance. That is, exp(-distanceFromMean^2/(2.*variance)). When distanceFromMean = 0, this function returns 1.
|
static |
Compute the amplitude of an unnormalized Gaussian function with specified mean and variance. That is, exp(-(position - mean)^2/(2.*variance)). When the distance from 'position' to 'mean' is 0, this function returns 1.
|
static |
Get a vtkDataArray's scalar range for a given component. If the vtkDataArray's data type is unsigned char (VTK_UNSIGNED_CHAR) the range is adjusted to the whole data type range [0, 255.0]. Same goes for unsigned short (VTK_UNSIGNED_SHORT) but the upper bound is also adjusted down to 4095.0 if was between ]255, 4095.0]. Return 1 on success, 0 otherwise.
|
static |
Return the scalar type that is most likely to have enough precision to store a given range of data once it has been scaled and shifted (i.e. [range_min * scale + shift, range_max * scale + shift]. If any one of the parameters is not an integer number (decimal part != 0), the search will default to float types only (float or double) Return -1 on error or no scalar type found.
|
static |
Return the current seed used by the random number generator.
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified.
|
static |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified.
|
static |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified.
|
static |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified.
|
static |
Convert color in HSV format (Hue, Saturation, Value) to RGB format (Red, Green, Blue). The input color is not modified.
|
static |
Special IEEE-754 number used to represent positive infinity.
|
virtual |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
static |
Test if a number is equal to the special floating point value infinity.
|
static |
Test if a number is equal to the special floating point value Not-A-Number (Nan).
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
static |
Convert color from the CIE-L*ab system to RGB.
|
static |
Convert color from the CIE-L*ab system to RGB.
|
static |
Convert color from the CIE-L*ab system to RGB.
|
static |
Convert color from the CIE-L*ab system to CIE XYZ.
|
static |
Convert color from the CIE-L*ab system to CIE XYZ.
|
static |
Convert color from the CIE-L*ab system to CIE XYZ.
|
static |
Multiplies a 3-vector by a scalar (float version). This modifies the input 3-vector.
|
static |
Multiplies a 3-vector by a scalar (double version). This modifies the input 3-vector.
|
static |
Multiplies a 2-vector by a scalar (float version). This modifies the input 2-vector.
|
static |
Multiplies a 2-vector by a scalar (double version). This modifies the input 2-vector.
|
static |
Special IEEE-754 number used to represent Not-A-Number (Nan).
|
static |
Special IEEE-754 number used to represent negative infinity.
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
new vtkMath Kitware.VTK.vtkMath.NewInstance | ( | ) |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
static |
Given m, n, and a valid combination of n integers in the range [0,m[, this function alters the integers into the next combination in a sequence of all combinations of n items from a pool of m.
If the combination is the last item in the sequence on input, then combination is unaltered and 0 is returned. Otherwise, 1 is returned and combination is updated.
|
static |
Compute the norm of n-vector. x is the vector, n is its length.
|
static |
Compute the norm of 3-vector.
|
static |
Compute the norm of a 2-vector.
|
static |
|
static |
|
static |
Given a unit vector x, find two unit vectors y and z such that x cross y = z (i.e. the vectors are perpendicular to each other). There is an infinite number of such vectors, specify an angle theta to choose one set. If you want only one perpendicular vector, specify NULL for z.
|
static |
A mathematical constant. This version is 3.14159265358979f.
|
static |
Return true if point is within the given 3D bounds Bounds is x-min, x-max, y-min, y-max, z-min, z-max Delta is the error margin along each axis (usually a small number)
|
static |
Compute the projection of vector a on vector b and return it in projection[3]. If b is a zero vector, the function returns false and 'projection' is invalid. Otherwise, it returns true.
|
static |
Compute the projection of 2D vector 'a' on 2D vector 'b' and returns the result in projection[2]. If b is a zero vector, the function returns false and 'projection' is invalid. Otherwise, it returns true.
|
static |
|
static |
|
static |
Generate pseudo-random numbers distributed according to the uniform distribution between 0.0 and 1.0. This is used to provide portability across different systems.
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Generate pseudo-random numbers distributed according to the uniform distribution between min and max.
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Initialize seed value. NOTE: Random() has the bad property that the first random number returned after RandomSeed() is called is proportional to the seed value! To help solve this, call RandomSeed() a few times inside seed. This doesn't ruin the repeatability of Random().
DON'T USE Random(), RandomSeed(), GetSeed(), Gaussian() THIS IS STATIC SO THIS IS PRONE TO ERRORS (SPECIALLY FOR REGRESSION TESTS) THIS IS HERE FOR BACKWARD COMPATIBILITY ONLY. Instead, for a sequence of random numbers with a uniform distribution create a vtkMinimalStandardRandomSequence object. For a sequence of random numbers with a gaussian/normal distribution create a vtkBoxMuellerRandomSequence object.
|
static |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified.
|
static |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified.
|
static |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified.
|
static |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified.
|
static |
Convert color in RGB format (Red, Green, Blue) to HSV format (Hue, Saturation, Value). The input color is not modified.
|
static |
Convert color from the RGB system to CIE-L*ab.
|
static |
Convert color from the RGB system to CIE-L*ab.
|
static |
Convert color from the RGB system to CIE-L*ab.
|
static |
Convert color from the RGB system to CIE XYZ.
|
static |
Convert color from the RGB system to CIE XYZ.
|
static |
Convert color from the RGB system to CIE XYZ.
|
static |
Rounds a float to the nearest integer.
|
static |
Rounds a float to the nearest integer.
|
static |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
|
static |
In Euclidean space, there is a unique circle passing through any given three non-collinear points P1, P2, and P3. Using Cartesian coordinates to represent these points as spatial vectors, it is possible to use the dot product and cross product to calculate the radius and center of the circle. See: http://en.wikipedia.org/wiki/Circumcircle and more specifically the section Barycentric coordinates from cross- and dot-products
|
static |
Subtraction of two 3-vectors (float version). Result is stored in c according to c = a - b.
|
static |
Set the bounds to an uninitialized state
|
static |
Convert Color from the CIE XYZ system to CIE-L*ab.
|
static |
Convert Color from the CIE XYZ system to CIE-L*ab.
|
static |
Convert Color from the CIE XYZ system to CIE-L*ab.
|
static |
Convert color from the CIE XYZ system to RGB.
|
static |
Convert color from the CIE XYZ system to RGB.
|
static |
Convert color from the CIE XYZ system to RGB.
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkMath.MRFullTypeName = "Kitware.VTK.vtkMath" |
Automatically generated type registration mechanics.