ActiViz .NET
5.10.1
|
vtkTesting - a unified VTK regression testing framework More...
Public Types | |
enum | ReturnValue { ReturnValue.DO_INTERACTOR = 3, ReturnValue.FAILED = 0, ReturnValue.NOT_RUN = 2, ReturnValue.PASSED = 1 } |
Undocumented Block More... | |
Public Member Functions | |
vtkTesting (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkTesting () | |
Undocumented Block More... | |
void | AddArgument (string argv) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line More... | |
void | AddArguments (string[] argv) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line More... | |
void | CleanArguments () |
Description This method delete all arguments in vtkTesting, this way you can reuse it in a loop where you would have multiple testing. More... | |
int | CompareAverageOfL2Norm (vtkDataSet pdA, vtkDataSet pdB, double tol) |
Compute the average L2 norm between all point data data arrays of types float and double present in the data sets "dsA" and "dsB" (this includes instances of vtkPoints) Compare the result of each L2 comutation to "tol". More... | |
int | CompareAverageOfL2Norm (vtkDataArray daA, vtkDataArray daB, double tol) |
Compute the average L2 norm between two data arrays "daA" and "daB" and compare against "tol". More... | |
virtual void | FrontBufferOff () |
Use front buffer for tests. By default use back buffer. More... | |
virtual void | FrontBufferOn () |
Use front buffer for tests. By default use back buffer. More... | |
string | GetArgument (string arg) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line More... | |
virtual int | GetBorderOffset () |
Number of pixels added as borders to avoid problems with window decorations added by some window managers. More... | |
string | GetDataRoot () |
Get some parameters from the command line arguments, env, or defaults More... | |
virtual int | GetFrontBuffer () |
Use front buffer for tests. By default use back buffer. More... | |
virtual int | GetFrontBufferMaxValue () |
Use front buffer for tests. By default use back buffer. More... | |
virtual int | GetFrontBufferMinValue () |
Use front buffer for tests. By default use back buffer. More... | |
virtual double | GetImageDifference () |
Get the image difference. More... | |
virtual vtkRenderWindow | GetRenderWindow () |
Set and get the render window that will be used for regression testing. More... | |
string | GetTempDirectory () |
Get some parameters from the command line arguments, env, or defaults More... | |
string | GetValidImageFileName () |
Set/Get the name of the valid image file More... | |
virtual int | GetVerbose () |
Get/Set verbosity level. A level of 0 is quiet. More... | |
override int | IsA (string type) |
Undocumented Block More... | |
int | IsFlagSpecified (string flag) |
Is some arbitrary user flag ("-X", "-Z" etc) specified More... | |
int | IsInteractiveModeSpecified () |
Is the interactive mode specified? More... | |
int | IsValidImageSpecified () |
Is a valid image specified on the command line areguments? More... | |
new vtkTesting | NewInstance () |
Undocumented Block More... | |
virtual int | RegressionTest (double thresh) |
Perform the test and return result. At the same time the output will be written cout More... | |
virtual int | RegressionTest (vtkImageData image, double thresh) |
Compare the image with the valid image. More... | |
virtual void | SetBorderOffset (int _arg) |
Number of pixels added as borders to avoid problems with window decorations added by some window managers. More... | |
virtual void | SetDataRoot (string _arg) |
Get some parameters from the command line arguments, env, or defaults More... | |
virtual void | SetFrontBuffer (int _arg) |
Use front buffer for tests. By default use back buffer. More... | |
virtual void | SetRenderWindow (vtkRenderWindow rw) |
Set and get the render window that will be used for regression testing. More... | |
virtual void | SetTempDirectory (string _arg) |
Get some parameters from the command line arguments, env, or defaults More... | |
virtual void | SetValidImageFileName (string _arg) |
Set/Get the name of the valid image file More... | |
virtual void | SetVerbose (int _arg) |
Get/Set verbosity level. A level of 0 is quiet. More... | |
![]() | |
vtkObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObject () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
uint | AddObserver (uint arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
uint | AddObserver (string arg0, vtkCommand arg1, float priority) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
virtual void | DebugOff () |
Turn debugging output off. More... | |
virtual void | DebugOn () |
Turn debugging output on. More... | |
vtkCommand | GetCommand (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
byte | GetDebug () |
Get the value of the debug flag. More... | |
virtual uint | GetMTime () |
Return this object's modified time. More... | |
int | HasObserver (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | HasObserver (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0, IntPtr callData) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
int | InvokeEvent (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
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. More... | |
vtkObject | NewInstance () |
Undocumented Block More... | |
void | RemoveAllObservers () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (vtkCommand arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObserver (uint tag) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0, vtkCommand arg1) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (uint arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | RemoveObservers (string arg0) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
void | SetDebug (byte debugFlag) |
Set the value of the debug flag. A non-zero value turns debugging on. More... | |
override string | ToString () |
Returns the result of calling vtkObject::Print as a C# string. More... | |
delegate void | vtkObjectEventHandler (vtkObject sender, vtkObjectEventArgs e) |
Generic signature for all vtkObject events. More... | |
void | RemoveAllHandlersForAllEvents () |
Call RemoveAllHandlers on each non-null vtkObjectEventRelay. TODO: This method needs to get called by the generated Dispose. Make that happen... More... | |
![]() | |
vtkObjectBase (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Automatically generated constructor - called from generated code. DO NOT call directly. More... | |
vtkObjectBase () | |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
virtual void | Register (vtkObjectBase o) |
Increase the reference count (mark as used by another object). More... | |
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. More... | |
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. More... | |
int | GetReferenceCount () |
Return the current reference count of this object. More... | |
void | SetReferenceCount (int arg0) |
Sets the reference count. (This is very dangerous, use with care.) More... | |
Static Public Member Functions | |
static new vtkTesting | New () |
Undocumented Block More... | |
static int | InteractorEventLoop (string[] argv, vtkRenderWindowInteractor iren, string stream) |
Undocumented Block More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static new vtkTesting | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
static int | Test (string[] argv, vtkRenderWindow rw, double thresh) |
Undocumented Block More... | |
![]() | |
static new vtkObject | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static void | BreakOnError () |
This method is called when vtkErrorMacro executes. It allows the debugger to break on error. More... | |
static int | GetGlobalWarningDisplay () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOff () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static void | GlobalWarningDisplayOn () |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
static new int | IsTypeOf (string type) |
Undocumented Block More... | |
static vtkObject | SafeDownCast (vtkObjectBase o) |
Undocumented Block More... | |
static void | SetGlobalWarningDisplay (int val) |
This is a global flag that controls whether any debug, warning or error messages are displayed. More... | |
![]() | |
static vtkObjectBase | New () |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More... | |
static int | IsTypeOf (string name) |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h. More... | |
Public Attributes | |
new const string | MRFullTypeName = "Kitware.VTK.vtkTesting" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
new const string | MRFullTypeName = "Kitware.VTK.vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
![]() | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
Static Public Attributes | |
static new readonly string | MRClassNameKey = "10vtkTesting" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "9vtkObject" |
Automatically generated type registration mechanics. More... | |
![]() | |
static new readonly string | MRClassNameKey = "13vtkObjectBase" |
Automatically generated type registration mechanics. More... | |
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. More... | |
![]() | |
override void | Dispose (bool disposing) |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly. More... | |
![]() | |
override void | Dispose (bool disposing) |
Decrease the reference count (release by another object). This has the same effect as invoking Delete() (i.e., it reduces the reference count by 1). More... | |
![]() | |
WrappedObject (IntPtr rawCppThis, bool callDisposalMethod, bool strong) | |
Constructor expected by the mummy Runtime. More... | |
Static Private Member Functions | |
static | vtkTesting () |
Automatically generated type registration mechanics. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
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. More... | |
vtkTesting - a unified VTK regression testing framework
Description
This is a VTK regression testing framework. Looks like this:
vtkTesting* t = vtkTesting::New();
Two options for setting arguments
Option 1: for ( cc = 1; cc < argc; cc ++ ) { t->AddArgument(argv[cc]); }
Option 2: t->AddArgument("-D"); t->AddArgument(my_data_dir); t->AddArgument("-V"); t->AddArgument(my_valid_image);
...
Two options of doing testing:
Option 1: t->SetRenderWindow(renWin); int res = t->RegressionTest(threshold);
Option 2: int res = t->RegressionTest(test_image, threshold);
...
if ( res == vtkTesting::PASSED ) { Test passed } else { Test failed }
|
staticprivate |
Automatically generated type registration mechanics.
Kitware.VTK.vtkTesting.vtkTesting | ( | IntPtr | rawCppThis, |
bool | callDisposalMethod, | ||
bool | strong | ||
) |
Automatically generated constructor - called from generated code. DO NOT call directly.
Kitware.VTK.vtkTesting.vtkTesting | ( | ) |
Undocumented Block
void Kitware.VTK.vtkTesting.AddArgument | ( | string | argv | ) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line
void Kitware.VTK.vtkTesting.AddArguments | ( | string[] | argv | ) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line
void Kitware.VTK.vtkTesting.CleanArguments | ( | ) |
Description This method delete all arguments in vtkTesting, this way you can reuse it in a loop where you would have multiple testing.
int Kitware.VTK.vtkTesting.CompareAverageOfL2Norm | ( | vtkDataSet | pdA, |
vtkDataSet | pdB, | ||
double | tol | ||
) |
Compute the average L2 norm between all point data data arrays of types float and double present in the data sets "dsA" and "dsB" (this includes instances of vtkPoints) Compare the result of each L2 comutation to "tol".
int Kitware.VTK.vtkTesting.CompareAverageOfL2Norm | ( | vtkDataArray | daA, |
vtkDataArray | daB, | ||
double | tol | ||
) |
Compute the average L2 norm between two data arrays "daA" and "daB" and compare against "tol".
|
protected |
Automatically generated protected Dispose method - called from public Dispose or the C# destructor. DO NOT call directly.
|
virtual |
Use front buffer for tests. By default use back buffer.
|
virtual |
Use front buffer for tests. By default use back buffer.
string Kitware.VTK.vtkTesting.GetArgument | ( | string | arg | ) |
Pass the command line arguments into this class to be processed. Many of the Get methods such as GetValidImage and GetBaselineRoot rely on the arguments to be passed in prior to retrieving these values. Just call AddArgument for each argument that was passed into the command line
|
virtual |
Number of pixels added as borders to avoid problems with window decorations added by some window managers.
string Kitware.VTK.vtkTesting.GetDataRoot | ( | ) |
Get some parameters from the command line arguments, env, or defaults
|
virtual |
Use front buffer for tests. By default use back buffer.
|
virtual |
Use front buffer for tests. By default use back buffer.
|
virtual |
Use front buffer for tests. By default use back buffer.
|
virtual |
Get the image difference.
|
virtual |
Set and get the render window that will be used for regression testing.
string Kitware.VTK.vtkTesting.GetTempDirectory | ( | ) |
Get some parameters from the command line arguments, env, or defaults
string Kitware.VTK.vtkTesting.GetValidImageFileName | ( | ) |
Set/Get the name of the valid image file
|
virtual |
Get/Set verbosity level. A level of 0 is quiet.
|
static |
Undocumented Block
|
virtual |
Undocumented Block
Reimplemented from Kitware.VTK.vtkObject.
int Kitware.VTK.vtkTesting.IsFlagSpecified | ( | string | flag | ) |
Is some arbitrary user flag ("-X", "-Z" etc) specified
int Kitware.VTK.vtkTesting.IsInteractiveModeSpecified | ( | ) |
Is the interactive mode specified?
|
static |
Undocumented Block
int Kitware.VTK.vtkTesting.IsValidImageSpecified | ( | ) |
Is a valid image specified on the command line areguments?
|
static |
Undocumented Block
new vtkTesting Kitware.VTK.vtkTesting.NewInstance | ( | ) |
Undocumented Block
|
virtual |
Perform the test and return result. At the same time the output will be written cout
|
virtual |
Compare the image with the valid image.
|
static |
Undocumented Block
|
virtual |
Number of pixels added as borders to avoid problems with window decorations added by some window managers.
|
virtual |
Get some parameters from the command line arguments, env, or defaults
|
virtual |
Use front buffer for tests. By default use back buffer.
|
virtual |
Set and get the render window that will be used for regression testing.
|
virtual |
Get some parameters from the command line arguments, env, or defaults
|
virtual |
Set/Get the name of the valid image file
|
virtual |
Get/Set verbosity level. A level of 0 is quiet.
|
static |
Undocumented Block
|
static |
Automatically generated type registration mechanics.
new const string Kitware.VTK.vtkTesting.MRFullTypeName = "Kitware.VTK.vtkTesting" |
Automatically generated type registration mechanics.