|
| virtual int | IsA (const char *type) |
| | Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
| |
| vtkPlane * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) override |
| | Methods invoked by print to print information about the object including superclasses. More...
|
| |
| double | EvaluateFunction (double x[3]) override |
| | Evaluate plane equation for point x[3]. More...
|
| |
| double | EvaluateFunction (double x, double y, double z) |
| |
| void | EvaluateGradient (double x[3], double g[3]) override |
| | Evaluate function gradient at point x[3]. More...
|
| |
| virtual void | SetNormal (double, double, double) |
| | Set/get plane normal. More...
|
| |
| virtual void | SetNormal (double[3]) |
| |
| virtual double * | GetNormal () |
| |
| virtual void | GetNormal (double data[3]) |
| |
| virtual void | SetOrigin (double, double, double) |
| | Set/get point through which plane passes. More...
|
| |
| virtual void | SetOrigin (double[3]) |
| |
| virtual double * | GetOrigin () |
| |
| virtual void | GetOrigin (double data[3]) |
| |
| void | Push (double distance) |
| | Translate the plane in the direction of the normal by the distance specified. More...
|
| |
| void | ProjectPoint (double x[3], double xproj[3]) |
| |
| void | ProjectVector (double v[3], double vproj[3]) |
| |
| void | GeneralizedProjectPoint (double x[3], double xproj[3]) |
| |
| double | DistanceToPlane (double x[3]) |
| |
| int | IntersectWithLine (double p1[3], double p2[3], double &t, double x[3]) |
| |
| vtkImplicitFunction * | NewInstance () const |
| |
| vtkMTimeType | GetMTime () override |
| | Overload standard modified time function. More...
|
| |
| double | FunctionValue (const double x[3]) |
| | Evaluate function at position x-y-z and return value. More...
|
| |
| double | FunctionValue (double x, double y, double z) |
| |
| void | FunctionGradient (const double x[3], double g[3]) |
| | Evaluate function gradient at position x-y-z and pass back vector. More...
|
| |
| double * | FunctionGradient (const double x[3]) |
| |
| double * | FunctionGradient (double x, double y, double z) |
| |
| virtual void | SetTransform (vtkAbstractTransform *) |
| | Set/Get a transformation to apply to input points before executing the implicit function. More...
|
| |
| virtual void | SetTransform (const double elements[16]) |
| |
| virtual vtkAbstractTransform * | GetTransform () |
| |
| double | EvaluateFunction (double x, double y, double z) |
| |
| | vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
| |
| virtual void | DebugOn () |
| | Turn debugging output on. More...
|
| |
| virtual void | DebugOff () |
| | Turn debugging output off. More...
|
| |
| bool | GetDebug () |
| | Get the value of the debug flag. More...
|
| |
| void | SetDebug (bool debugFlag) |
| | Set the value of the debug flag. More...
|
| |
| virtual void | Modified () |
| | Update the modification time for this object. More...
|
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| | Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| | Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| | Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| | This method invokes an event and return whether the event was aborted or not. More...
|
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| const char * | GetClassName () const |
| | Return the class name as a string. More...
|
| |
| virtual void | Delete () |
| | Delete a VTK object. More...
|
| |
| virtual void | FastDelete () |
| | Delete a reference to this object. More...
|
| |
| void | InitializeObjectBase () |
| |
| void | Print (ostream &os) |
| | Print an object to an ostream. More...
|
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| virtual void | Register (vtkObjectBase *o) |
| | Increase the reference count (mark as used by another object). More...
|
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| | Decrease the reference count (release by another object). More...
|
| |
| int | GetReferenceCount () |
| | Return the current reference count of this object. More...
|
| |
| void | SetReferenceCount (int) |
| | Sets the reference count. More...
|
| |
| void | PrintRevisions (ostream &) |
| | Legacy. More...
|
| |
|
| static vtkPlane * | New () |
| | Construct plane passing through origin and normal to z-axis. More...
|
| |
| static int | IsTypeOf (const char *type) |
| |
| static vtkPlane * | SafeDownCast (vtkObjectBase *o) |
| |
| static void | ProjectPoint (double x[3], double origin[3], double normal[3], double xproj[3]) |
| | Project a point x onto plane defined by origin and normal. More...
|
| |
| static void | ProjectVector (double v[3], double origin[3], double normal[3], double vproj[3]) |
| | Project a vector v onto plane defined by origin and normal. More...
|
| |
| static void | GeneralizedProjectPoint (double x[3], double origin[3], double normal[3], double xproj[3]) |
| | Project a point x onto plane defined by origin and normal. More...
|
| |
| static double | Evaluate (double normal[3], double origin[3], double x[3]) |
| | Quick evaluation of plane equation n(x-origin)=0. More...
|
| |
| static double | DistanceToPlane (double x[3], double n[3], double p0[3]) |
| | Return the distance of a point x to a plane defined by n(x-p0) = 0. More...
|
| |
| static int | IntersectWithLine (double p1[3], double p2[3], double n[3], double p0[3], double &t, double x[3]) |
| | Given a line defined by the two points p1,p2; and a plane defined by the normal n and point p0, compute an intersection. More...
|
| |
| static int | IsTypeOf (const char *type) |
| |
| static vtkImplicitFunction * | SafeDownCast (vtkObjectBase *o) |
| |
| static 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. More...
|
| |
| static void | SetGlobalWarningDisplay (int val) |
| | This is a global flag that controls whether any debug, warning or error messages are displayed. More...
|
| |
| static void | GlobalWarningDisplayOn () |
| |
| static void | GlobalWarningDisplayOff () |
| |
| static int | GetGlobalWarningDisplay () |
| |
| static vtkTypeBool | IsTypeOf (const char *name) |
| | Return 1 if this class type is the same type of (or a subclass of) the named class. More...
|
| |
| static vtkObjectBase * | New () |
| | Create an object with Debug turned off, modified time initialized to zero, and reference counting on. More...
|
| |
perform various plane computations
vtkPlane provides methods for various plane computations. These include projecting points onto a plane, evaluating the plane equation, and returning plane normal. vtkPlane is a concrete implementation of the abstract class vtkImplicitFunction.
- Examples:
- vtkPlane (Examples)
- Tests:
- vtkPlane (Tests)
Definition at line 37 of file vtkPlane.h.