|
virtual int | IsA (const char *type) |
|
vtkImplicitPolyDataDistance * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
unsigned long | GetMTime () |
|
double | EvaluateFunction (double x[3]) |
|
void | EvaluateGradient (double x[3], double g[3]) |
|
void | SetInput (vtkPolyData *input) |
|
|
virtual void | SetNoValue (double) |
|
virtual double | GetNoValue () |
|
|
virtual void | SetNoGradient (double, double, double) |
|
virtual void | SetNoGradient (double[3]) |
|
virtual double * | GetNoGradient () |
|
virtual void | GetNoGradient (double &, double &, double &) |
|
virtual void | GetNoGradient (double[3]) |
|
|
virtual double | GetTolerance () |
|
virtual void | SetTolerance (double) |
|
vtkImplicitFunction * | NewInstance () const |
|
double | FunctionValue (const double x[3]) |
|
double | FunctionValue (double x, double y, double z) |
|
void | FunctionGradient (const double x[3], double g[3]) |
|
double * | FunctionGradient (const double x[3]) |
|
double * | FunctionGradient (double x, double y, double z) |
|
virtual void | SetTransform (vtkAbstractTransform *) |
|
virtual void | SetTransform (const double elements[16]) |
|
virtual vtkAbstractTransform * | GetTransform () |
|
double | EvaluateFunction (double x, double y, double z) |
|
vtkObject * | NewInstance () const |
|
virtual void | DebugOn () |
|
virtual void | DebugOff () |
|
bool | GetDebug () |
|
void | SetDebug (bool debugFlag) |
|
virtual void | Modified () |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
|
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) |
|
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) |
|
int | InvokeEvent (unsigned long event, void *callData) |
|
int | InvokeEvent (const char *event, void *callData) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
const char * | GetClassName () const |
|
virtual void | Delete () |
|
virtual void | FastDelete () |
|
void | Print (ostream &os) |
|
virtual void | Register (vtkObjectBase *o) |
|
virtual void | UnRegister (vtkObjectBase *o) |
|
void | SetReferenceCount (int) |
|
void | PrintRevisions (ostream &) |
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
|
int | GetReferenceCount () |
|
Implicit function that computes the distance from a point x to the nearest point p on an input vtkPolyData. The sign of the function is set to the sign of the dot product between the angle-weighted pseudonormal at the nearest surface point and the vector x - p. Points interior to the geometry have a negative distance, points on the exterior have a positive distance, and points on the input vtkPolyData have a distance of zero. The gradient of the function is the angle-weighted pseudonormal at the nearest point.
Baerentzen, J. A. and Aanaes, H. (2005). Signed distance computation using the angle weighted pseudonormal. IEEE Transactions on Visualization and Computer Graphics, 11:243-253.
This code was contributed in the VTK Journal paper: "Boolean Operations on Surfaces in VTK Without External Libraries" by Cory Quammen, Chris Weigle C., Russ Taylor http://hdl.handle.net/10380/3262 http://www.midasjournal.org/browse/publication/797
- Tests:
- vtkImplicitPolyDataDistance (Tests)
Definition at line 50 of file vtkImplicitPolyDataDistance.h.