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

vtkSphereRepresentation - a class defining the representation for the vtkSphereWidget2 More...

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

List of all members.

Public Types

enum  MovingHandle_WrapperEnum {
  MovingHandle = 1, OnSphere = 2, Outside = 0, Scaling = 4,
  Translating = 3
}
 Standard methods for type information and to print out the contents of the class. More...

Public Member Functions

 vtkSphereRepresentation (IntPtr rawCppThis, bool callDisposalMethod, bool strong)
 Automatically generated constructor - called from generated code. DO NOT call directly.
 vtkSphereRepresentation ()
 Instantiate the class.
override void BuildRepresentation ()
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
override int ComputeInteractionState (int X, int Y, int modify)
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
override double[] GetBounds ()
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
double[] GetCenter ()
 Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.
void GetCenter (IntPtr xyz)
 Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.
virtual double[] GetHandleDirection ()
 Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.
virtual void GetHandleDirection (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.
virtual void GetHandleDirection (IntPtr _arg)
 Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.
virtual double[] GetHandlePosition ()
 Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.
virtual void GetHandlePosition (ref double _arg1, ref double _arg2, ref double _arg3)
 Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.
virtual void GetHandlePosition (IntPtr _arg)
 Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.
virtual vtkProperty GetHandleProperty ()
 Get the handle properties (the little ball on the sphere is the handle). The properties of the handle when selected and unselected can be manipulated.
virtual int GetHandleText ()
 Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.
virtual vtkTextProperty GetHandleTextProperty ()
 Get the handle text property. This can be used to control the appearance of the handle text.
virtual int GetHandleVisibility ()
 The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.
int GetPhiResolution ()
 Set/Get the resolution of the sphere in the phi direction.
void GetPolyData (vtkPolyData pd)
 Grab the polydata (including points) that defines the sphere. The polydata consists of n+1 points, where n is the resolution of the sphere. These point values are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and polysphere are added to it.
virtual int GetRadialLine ()
 Enable/disable a radial line segment that joins the center of the outer sphere and the handle.
virtual vtkProperty GetRadialLineProperty ()
 Get the property of the radial line. This can be used to control the appearance of the optional line connecting the center to the handle.
double GetRadius ()
 Set/Get the radius of sphere. Default is 0.5. Note that this may modify the position of the handle based on the handle direction.
virtual int GetRepresentation ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
virtual int GetRepresentationMaxValue ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
virtual int GetRepresentationMinValue ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
virtual vtkProperty GetSelectedHandleProperty ()
 Get the handle properties (the little ball on the sphere is the handle). The properties of the handle when selected and unselected can be manipulated.
virtual vtkProperty GetSelectedSphereProperty ()
 Get the sphere properties. The properties of the sphere when selected and unselected can be manipulated.
void GetSphere (vtkSphere sphere)
 Get the spherical implicit function defined by this widget. Note that vtkSphere is a subclass of vtkImplicitFunction, meaning that it can be used by a variety of filters to perform clipping, cutting, and selection of data.
virtual vtkProperty GetSphereProperty ()
 Get the sphere properties. The properties of the sphere when selected and unselected can be manipulated.
int GetThetaResolution ()
 Set/Get the resolution of the sphere in the theta direction.
virtual void HandleTextOff ()
 Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.
virtual void HandleTextOn ()
 Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.
virtual void HandleVisibilityOff ()
 The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.
virtual void HandleVisibilityOn ()
 The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.
override int HasTranslucentPolygonalGeometry ()
 Methods supporting, and required by, the rendering process.
override int IsA (string type)
 Standard methods for type information and to print out the contents of the class.
new vtkSphereRepresentation NewInstance ()
 Standard methods for type information and to print out the contents of the class.
override void PlaceWidget (IntPtr bounds)
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
virtual void PlaceWidget (IntPtr center, IntPtr handlePosition)
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
virtual void RadialLineOff ()
 Enable/disable a radial line segment that joins the center of the outer sphere and the handle.
virtual void RadialLineOn ()
 Enable/disable a radial line segment that joins the center of the outer sphere and the handle.
override void ReleaseGraphicsResources (vtkWindow arg0)
 Methods supporting, and required by, the rendering process.
override int RenderOpaqueGeometry (vtkViewport arg0)
 Methods supporting, and required by, the rendering process.
override int RenderOverlay (vtkViewport arg0)
 Methods supporting, and required by, the rendering process.
override int RenderTranslucentPolygonalGeometry (vtkViewport arg0)
 Methods supporting, and required by, the rendering process.
void SetCenter (IntPtr c)
 Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.
void SetCenter (double x, double y, double z)
 Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.
void SetHandleDirection (IntPtr dir)
 Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.
void SetHandleDirection (double dx, double dy, double dz)
 Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.
void SetHandlePosition (IntPtr handle)
 Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.
void SetHandlePosition (double x, double y, double z)
 Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.
virtual void SetHandleText (int _arg)
 Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.
virtual void SetHandleVisibility (int _arg)
 The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.
void SetInteractionState (int state)
 The interaction state may be set from a widget (e.g., vtkSphereWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.
void SetPhiResolution (int r)
 Set/Get the resolution of the sphere in the phi direction.
virtual void SetRadialLine (int _arg)
 Enable/disable a radial line segment that joins the center of the outer sphere and the handle.
void SetRadius (double r)
 Set/Get the radius of sphere. Default is 0.5. Note that this may modify the position of the handle based on the handle direction.
virtual void SetRepresentation (int _arg)
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
void SetRepresentationToOff ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
void SetRepresentationToSurface ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
void SetRepresentationToWireframe ()
 Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.
void SetThetaResolution (int r)
 Set/Get the resolution of the sphere in the theta direction.
override void StartWidgetInteraction (IntPtr e)
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.
override void WidgetInteraction (IntPtr e)
 These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Static Public Member Functions

static new vtkSphereRepresentation New ()
 Instantiate the class.
static new int IsTypeOf (string type)
 Standard methods for type information and to print out the contents of the class.
static new vtkSphereRepresentation SafeDownCast (vtkObjectBase o)
 Standard methods for type information and to print out the contents of the class.

Public Attributes

new const string MRFullTypeName = "Kitware.VTK.vtkSphereRepresentation"
 Automatically generated type registration mechanics.

Static Public Attributes

static new readonly string MRClassNameKey = "23vtkSphereRepresentation"
 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.

Private Member Functions

static internal IntPtr vtkSphereRepresentation_New (ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSphereRepresentation_BuildRepresentation_01 (HandleRef pThis)
static internal int vtkSphereRepresentation_ComputeInteractionState_02 (HandleRef pThis, int X, int Y, int modify)
static internal IntPtr vtkSphereRepresentation_GetBounds_03 (HandleRef pThis)
static internal IntPtr vtkSphereRepresentation_GetCenter_04 (HandleRef pThis)
static internal void vtkSphereRepresentation_GetCenter_05 (HandleRef pThis, IntPtr xyz)
static internal IntPtr vtkSphereRepresentation_GetHandleDirection_06 (HandleRef pThis)
static internal void vtkSphereRepresentation_GetHandleDirection_07 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkSphereRepresentation_GetHandleDirection_08 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkSphereRepresentation_GetHandlePosition_09 (HandleRef pThis)
static internal void vtkSphereRepresentation_GetHandlePosition_10 (HandleRef pThis, ref double _arg1, ref double _arg2, ref double _arg3)
static internal void vtkSphereRepresentation_GetHandlePosition_11 (HandleRef pThis, IntPtr _arg)
static internal IntPtr vtkSphereRepresentation_GetHandleProperty_12 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSphereRepresentation_GetHandleText_13 (HandleRef pThis)
static internal IntPtr vtkSphereRepresentation_GetHandleTextProperty_14 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSphereRepresentation_GetHandleVisibility_15 (HandleRef pThis)
static internal int vtkSphereRepresentation_GetPhiResolution_16 (HandleRef pThis)
static internal void vtkSphereRepresentation_GetPolyData_17 (HandleRef pThis, HandleRef pd)
static internal int vtkSphereRepresentation_GetRadialLine_18 (HandleRef pThis)
static internal IntPtr vtkSphereRepresentation_GetRadialLineProperty_19 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal double vtkSphereRepresentation_GetRadius_20 (HandleRef pThis)
static internal int vtkSphereRepresentation_GetRepresentation_21 (HandleRef pThis)
static internal int vtkSphereRepresentation_GetRepresentationMaxValue_22 (HandleRef pThis)
static internal int vtkSphereRepresentation_GetRepresentationMinValue_23 (HandleRef pThis)
static internal IntPtr vtkSphereRepresentation_GetSelectedHandleProperty_24 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal IntPtr vtkSphereRepresentation_GetSelectedSphereProperty_25 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSphereRepresentation_GetSphere_26 (HandleRef pThis, HandleRef sphere)
static internal IntPtr vtkSphereRepresentation_GetSphereProperty_27 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal int vtkSphereRepresentation_GetThetaResolution_28 (HandleRef pThis)
static internal void vtkSphereRepresentation_HandleTextOff_29 (HandleRef pThis)
static internal void vtkSphereRepresentation_HandleTextOn_30 (HandleRef pThis)
static internal void vtkSphereRepresentation_HandleVisibilityOff_31 (HandleRef pThis)
static internal void vtkSphereRepresentation_HandleVisibilityOn_32 (HandleRef pThis)
static internal int vtkSphereRepresentation_HasTranslucentPolygonalGeometry_33 (HandleRef pThis)
static internal int vtkSphereRepresentation_IsA_34 (HandleRef pThis, string type)
static internal int vtkSphereRepresentation_IsTypeOf_35 (string type)
static internal IntPtr vtkSphereRepresentation_NewInstance_37 (HandleRef pThis, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSphereRepresentation_PlaceWidget_38 (HandleRef pThis, IntPtr bounds)
static internal void vtkSphereRepresentation_PlaceWidget_39 (HandleRef pThis, IntPtr center, IntPtr handlePosition)
static internal void vtkSphereRepresentation_RadialLineOff_40 (HandleRef pThis)
static internal void vtkSphereRepresentation_RadialLineOn_41 (HandleRef pThis)
static internal void vtkSphereRepresentation_ReleaseGraphicsResources_42 (HandleRef pThis, HandleRef arg0)
static internal int vtkSphereRepresentation_RenderOpaqueGeometry_43 (HandleRef pThis, HandleRef arg0)
static internal int vtkSphereRepresentation_RenderOverlay_44 (HandleRef pThis, HandleRef arg0)
static internal int vtkSphereRepresentation_RenderTranslucentPolygonalGeometry_45 (HandleRef pThis, HandleRef arg0)
static internal IntPtr vtkSphereRepresentation_SafeDownCast_46 (HandleRef o, ref uint mteStatus, ref uint mteIndex, ref uint rawRefCount)
static internal void vtkSphereRepresentation_SetCenter_47 (HandleRef pThis, IntPtr c)
static internal void vtkSphereRepresentation_SetCenter_48 (HandleRef pThis, double x, double y, double z)
static internal void vtkSphereRepresentation_SetHandleDirection_49 (HandleRef pThis, IntPtr dir)
static internal void vtkSphereRepresentation_SetHandleDirection_50 (HandleRef pThis, double dx, double dy, double dz)
static internal void vtkSphereRepresentation_SetHandlePosition_51 (HandleRef pThis, IntPtr handle)
static internal void vtkSphereRepresentation_SetHandlePosition_52 (HandleRef pThis, double x, double y, double z)
static internal void vtkSphereRepresentation_SetHandleText_53 (HandleRef pThis, int _arg)
static internal void vtkSphereRepresentation_SetHandleVisibility_54 (HandleRef pThis, int _arg)
static internal void vtkSphereRepresentation_SetInteractionState_55 (HandleRef pThis, int state)
static internal void vtkSphereRepresentation_SetPhiResolution_56 (HandleRef pThis, int r)
static internal void vtkSphereRepresentation_SetRadialLine_57 (HandleRef pThis, int _arg)
static internal void vtkSphereRepresentation_SetRadius_58 (HandleRef pThis, double r)
static internal void vtkSphereRepresentation_SetRepresentation_59 (HandleRef pThis, int _arg)
static internal void vtkSphereRepresentation_SetRepresentationToOff_60 (HandleRef pThis)
static internal void vtkSphereRepresentation_SetRepresentationToSurface_61 (HandleRef pThis)
static internal void vtkSphereRepresentation_SetRepresentationToWireframe_62 (HandleRef pThis)
static internal void vtkSphereRepresentation_SetThetaResolution_63 (HandleRef pThis, int r)
static internal void vtkSphereRepresentation_StartWidgetInteraction_64 (HandleRef pThis, IntPtr e)
static internal void vtkSphereRepresentation_WidgetInteraction_65 (HandleRef pThis, IntPtr e)

Static Private Member Functions

static vtkSphereRepresentation ()
 Automatically generated type registration mechanics.

Detailed Description

vtkSphereRepresentation - a class defining the representation for the vtkSphereWidget2

Description This class is a concrete representation for the vtkSphereWidget2. It represents a sphere with an optional handle. Through interaction with the widget, the sphere can be arbitrarily positioned and scaled in 3D space; and the handle can be moved on the surface of the sphere. Typically the vtkSphereWidget2/vtkSphereRepresentation are used to position a sphere for the purpose of extracting, cutting or clipping data; or the handle is moved on the sphere to position a light or camera.

To use this representation, you normally use the PlaceWidget() method to position the widget at a specified region in space. It is also possible to set the center of the sphere, a radius, and/or a handle position.

Caveats Note that the representation is overconstrained in that the center and radius of the sphere can be defined, this information plus the handle direction defines the geometry of the representation. Alternatively, the user may specify the center of the sphere plus the handle position.

This class, and vtkSphereWidget2, are second generation VTK widgets. An earlier version of this functionality was defined in the class vtkSphereWidget.


Member Enumeration Documentation

Standard methods for type information and to print out the contents of the class.

Enumerator:
MovingHandle 

enum member

OnSphere 

enum member

Outside 

enum member

Scaling 

enum member

Translating 

enum member


Constructor & Destructor Documentation

Automatically generated type registration mechanics.

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

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

Instantiate the class.


Member Function Documentation

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override int Kitware.VTK.vtkSphereRepresentation.ComputeInteractionState ( int  X,
int  Y,
int  modify 
) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override void Kitware.VTK.vtkSphereRepresentation.Dispose ( bool  disposing) [protected]

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

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override double [] Kitware.VTK.vtkSphereRepresentation.GetBounds ( ) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.

Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.

Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.

virtual void Kitware.VTK.vtkSphereRepresentation.GetHandleDirection ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.

virtual void Kitware.VTK.vtkSphereRepresentation.GetHandleDirection ( IntPtr  _arg) [virtual]

Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.

Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.

virtual void Kitware.VTK.vtkSphereRepresentation.GetHandlePosition ( ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [virtual]

Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.

virtual void Kitware.VTK.vtkSphereRepresentation.GetHandlePosition ( IntPtr  _arg) [virtual]

Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.

Get the handle properties (the little ball on the sphere is the handle). The properties of the handle when selected and unselected can be manipulated.

Here is the call graph for this function:

Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.

Get the handle text property. This can be used to control the appearance of the handle text.

Here is the call graph for this function:

The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.

Set/Get the resolution of the sphere in the phi direction.

Grab the polydata (including points) that defines the sphere. The polydata consists of n+1 points, where n is the resolution of the sphere. These point values are guaranteed to be up-to-date when either the InteractionEvent or EndInteraction events are invoked. The user provides the vtkPolyData and the points and polysphere are added to it.

Enable/disable a radial line segment that joins the center of the outer sphere and the handle.

Get the property of the radial line. This can be used to control the appearance of the optional line connecting the center to the handle.

Here is the call graph for this function:

Set/Get the radius of sphere. Default is 0.5. Note that this may modify the position of the handle based on the handle direction.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Get the handle properties (the little ball on the sphere is the handle). The properties of the handle when selected and unselected can be manipulated.

Here is the call graph for this function:

Get the sphere properties. The properties of the sphere when selected and unselected can be manipulated.

Here is the call graph for this function:

Get the spherical implicit function defined by this widget. Note that vtkSphere is a subclass of vtkImplicitFunction, meaning that it can be used by a variety of filters to perform clipping, cutting, and selection of data.

Get the sphere properties. The properties of the sphere when selected and unselected can be manipulated.

Here is the call graph for this function:

Set/Get the resolution of the sphere in the theta direction.

Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.

Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.

The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.

The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.

Methods supporting, and required by, the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override int Kitware.VTK.vtkSphereRepresentation.IsA ( string  type) [virtual]

Standard methods for type information and to print out the contents of the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

static new int Kitware.VTK.vtkSphereRepresentation.IsTypeOf ( string  type) [static]

Standard methods for type information and to print out the contents of the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Instantiate the class.

Reimplemented from Kitware.VTK.vtkObject.

Standard methods for type information and to print out the contents of the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

override void Kitware.VTK.vtkSphereRepresentation.PlaceWidget ( IntPtr  bounds) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

virtual void Kitware.VTK.vtkSphereRepresentation.PlaceWidget ( IntPtr  center,
IntPtr  handlePosition 
) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Enable/disable a radial line segment that joins the center of the outer sphere and the handle.

Enable/disable a radial line segment that joins the center of the outer sphere and the handle.

Methods supporting, and required by, the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting, and required by, the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting, and required by, the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Methods supporting, and required by, the rendering process.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Standard methods for type information and to print out the contents of the class.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

Here is the call graph for this function:

Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.

void Kitware.VTK.vtkSphereRepresentation.SetCenter ( double  x,
double  y,
double  z 
)

Set/Get the center position of the sphere. Note that this may adjust the direction from the handle to the center, as well as the radius of the sphere.

Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.

void Kitware.VTK.vtkSphereRepresentation.SetHandleDirection ( double  dx,
double  dy,
double  dz 
)

Set/Get the direction vector of the handle relative to the center of the sphere. This may affect the position of the handle and the radius of the sphere.

Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.

void Kitware.VTK.vtkSphereRepresentation.SetHandlePosition ( double  x,
double  y,
double  z 
)

Set/Get the position of the handle. Note that this may adjust the radius of the sphere and the handle direction.

virtual void Kitware.VTK.vtkSphereRepresentation.SetHandleText ( int  _arg) [virtual]

Enable/disable a label that displays the location of the handle in spherical coordinates (radius,theta,phi). The two angles, theta and phi, are displayed in degrees. Note that phi is measured from the north pole down towards the equator; and theta is the angle around the north/south axis.

virtual void Kitware.VTK.vtkSphereRepresentation.SetHandleVisibility ( int  _arg) [virtual]

The handle sits on the surface of the sphere and may be moved around the surface by picking (left mouse) and then moving. The position of the handle can be retrieved, this is useful for positioning cameras and lights. By default, the handle is turned off.

The interaction state may be set from a widget (e.g., vtkSphereWidget2) or other object. This controls how the interaction with the widget proceeds. Normally this method is used as part of a handshaking process with the widget: First ComputeInteractionState() is invoked that returns a state based on geometric considerations (i.e., cursor near a widget feature), then based on events, the widget may modify this further.

Set/Get the resolution of the sphere in the phi direction.

virtual void Kitware.VTK.vtkSphereRepresentation.SetRadialLine ( int  _arg) [virtual]

Enable/disable a radial line segment that joins the center of the outer sphere and the handle.

Set/Get the radius of sphere. Default is 0.5. Note that this may modify the position of the handle based on the handle direction.

virtual void Kitware.VTK.vtkSphereRepresentation.SetRepresentation ( int  _arg) [virtual]

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set the representation (i.e., appearance) of the sphere. Different representations are useful depending on the application.

Set/Get the resolution of the sphere in the theta direction.

override void Kitware.VTK.vtkSphereRepresentation.StartWidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_ComputeInteractionState_02 ( HandleRef  pThis,
int  X,
int  Y,
int  modify 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetBounds_03 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetCenter_04 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetCenter_05 ( HandleRef  pThis,
IntPtr  xyz 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleDirection_06 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleDirection_07 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleDirection_08 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandlePosition_09 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandlePosition_10 ( HandleRef  pThis,
ref double  _arg1,
ref double  _arg2,
ref double  _arg3 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandlePosition_11 ( HandleRef  pThis,
IntPtr  _arg 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleProperty_12 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleText_13 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetHandleTextProperty_14 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetPhiResolution_16 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetPolyData_17 ( HandleRef  pThis,
HandleRef  pd 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetRadialLine_18 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetRadialLineProperty_19 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal double Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetRadius_20 ( HandleRef  pThis) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetSelectedHandleProperty_24 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetSelectedSphereProperty_25 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetSphere_26 ( HandleRef  pThis,
HandleRef  sphere 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_GetSphereProperty_27 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_HandleTextOff_29 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_HandleTextOn_30 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_HandleVisibilityOn_32 ( HandleRef  pThis) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_IsA_34 ( HandleRef  pThis,
string  type 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_IsTypeOf_35 ( string  type) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_New ( ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_NewInstance_37 ( HandleRef  pThis,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_PlaceWidget_38 ( HandleRef  pThis,
IntPtr  bounds 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_PlaceWidget_39 ( HandleRef  pThis,
IntPtr  center,
IntPtr  handlePosition 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_RadialLineOff_40 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_RadialLineOn_41 ( HandleRef  pThis) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_ReleaseGraphicsResources_42 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_RenderOpaqueGeometry_43 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_RenderOverlay_44 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal int Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_RenderTranslucentPolygonalGeometry_45 ( HandleRef  pThis,
HandleRef  arg0 
) [private]
static internal IntPtr Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SafeDownCast_46 ( HandleRef  o,
ref uint  mteStatus,
ref uint  mteIndex,
ref uint  rawRefCount 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetCenter_47 ( HandleRef  pThis,
IntPtr  c 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetCenter_48 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandleDirection_49 ( HandleRef  pThis,
IntPtr  dir 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandleDirection_50 ( HandleRef  pThis,
double  dx,
double  dy,
double  dz 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandlePosition_51 ( HandleRef  pThis,
IntPtr  handle 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandlePosition_52 ( HandleRef  pThis,
double  x,
double  y,
double  z 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandleText_53 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetHandleVisibility_54 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetInteractionState_55 ( HandleRef  pThis,
int  state 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetPhiResolution_56 ( HandleRef  pThis,
int  r 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetRadialLine_57 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetRadius_58 ( HandleRef  pThis,
double  r 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetRepresentation_59 ( HandleRef  pThis,
int  _arg 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_SetThetaResolution_63 ( HandleRef  pThis,
int  r 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_StartWidgetInteraction_64 ( HandleRef  pThis,
IntPtr  e 
) [private]
static internal void Kitware.VTK.vtkSphereRepresentation.vtkSphereRepresentation_WidgetInteraction_65 ( HandleRef  pThis,
IntPtr  e 
) [private]
override void Kitware.VTK.vtkSphereRepresentation.WidgetInteraction ( IntPtr  e) [virtual]

These are methods that satisfy vtkWidgetRepresentation's API. Note that a version of place widget is available where the center and handle position are specified.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.


Member Data Documentation

new readonly string Kitware.VTK.vtkSphereRepresentation.MRClassNameKey = "23vtkSphereRepresentation" [static]

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.

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

Automatically generated type registration mechanics.

Reimplemented from Kitware.VTK.vtkWidgetRepresentation.


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