VMTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
vtkvmtkNonManifoldSteepestDescent Class Reference

Abstract class for steepest descent on a polygonal non-manifold. More...

#include <vtkvmtkNonManifoldSteepestDescent.h>

Inheritance diagram for vtkvmtkNonManifoldSteepestDescent:
[legend]
Collaboration diagram for vtkvmtkNonManifoldSteepestDescent:
[legend]

Public Types

typedef vtkPolyDataAlgorithm Superclass
 

Public Member Functions

virtual int IsA (const char *type)
 
vtkvmtkNonManifoldSteepestDescentNewInstance () const
 
void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void SetDirection (int)
 
virtual int GetDirection ()
 
void SetDirectionToDownward ()
 
void SetDirectionToUpward ()
 
virtual void SetDescentArrayName (const char *)
 
virtual char * GetDescentArrayName ()
 

Static Public Member Functions

static int IsTypeOf (const char *type)
 
static vtkvmtkNonManifoldSteepestDescentSafeDownCast (vtkObjectBase *o)
 
static vtkvmtkNonManifoldSteepestDescentNew ()
 

Protected Member Functions

virtual vtkObjectBase * NewInstanceInternal () const
 
 vtkvmtkNonManifoldSteepestDescent ()
 
 ~vtkvmtkNonManifoldSteepestDescent ()
 
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE
 
double GetSteepestDescent (vtkPolyData *input, vtkIdType *edge, double s, vtkIdType *steepestDescentEdge, double &steepestDescentS)
 
double GetSteepestDescentInCell (vtkPolyData *input, vtkIdType cellId, vtkIdType *edge, double s, vtkIdType *steepestDescentEdge, double &steepestDescentS, double &steepestDescentLength)
 

Protected Attributes

vtkDataArray * DescentArray
 
char * DescentArrayName
 
int NumberOfEdgeSubdivisions
 
int Direction
 

Detailed Description

Abstract class for steepest descent on a polygonal non-manifold.

Date
2006/04/06 16:46:43
Revision
1.4

This class is an abstract filter used as base class for performing steepest descent on a non-manifold surface made of convex polygons (such as the Voronoi diagram) on the basis of a given scalar field. Steepest descent is performed on the edges of input polygons with a first order approximation.

See also
vtkSteepestDescentLineTracer vtkSurfaceToCenterlines vtkVoronoiDiagram3D

Definition at line 42 of file vtkvmtkNonManifoldSteepestDescent.h.

Member Typedef Documentation

◆ Superclass

typedef vtkPolyDataAlgorithm vtkvmtkNonManifoldSteepestDescent::Superclass

Definition at line 45 of file vtkvmtkNonManifoldSteepestDescent.h.

Constructor & Destructor Documentation

◆ vtkvmtkNonManifoldSteepestDescent()

vtkvmtkNonManifoldSteepestDescent::vtkvmtkNonManifoldSteepestDescent ( )
protected

◆ ~vtkvmtkNonManifoldSteepestDescent()

vtkvmtkNonManifoldSteepestDescent::~vtkvmtkNonManifoldSteepestDescent ( )
protected

Member Function Documentation

◆ IsTypeOf()

static int vtkvmtkNonManifoldSteepestDescent::IsTypeOf ( const char *  type)
static

◆ IsA()

virtual int vtkvmtkNonManifoldSteepestDescent::IsA ( const char *  type)
virtual

◆ SafeDownCast()

static vtkvmtkNonManifoldSteepestDescent* vtkvmtkNonManifoldSteepestDescent::SafeDownCast ( vtkObjectBase *  o)
static

◆ NewInstanceInternal()

virtual vtkObjectBase* vtkvmtkNonManifoldSteepestDescent::NewInstanceInternal ( ) const
protectedvirtual

◆ NewInstance()

vtkvmtkNonManifoldSteepestDescent* vtkvmtkNonManifoldSteepestDescent::NewInstance ( ) const

◆ PrintSelf()

void vtkvmtkNonManifoldSteepestDescent::PrintSelf ( ostream &  os,
vtkIndent  indent 
)

◆ New()

static vtkvmtkNonManifoldSteepestDescent* vtkvmtkNonManifoldSteepestDescent::New ( )
static

◆ SetDescentArrayName()

virtual void vtkvmtkNonManifoldSteepestDescent::SetDescentArrayName ( const char *  )
virtual

Set/Get the name of the point data array used as the descent scalar field.

◆ GetDescentArrayName()

virtual char* vtkvmtkNonManifoldSteepestDescent::GetDescentArrayName ( )
virtual

Set/Get the name of the point data array used as the descent scalar field.

◆ SetDirection()

virtual void vtkvmtkNonManifoldSteepestDescent::SetDirection ( int  )
virtual

◆ GetDirection()

virtual int vtkvmtkNonManifoldSteepestDescent::GetDirection ( )
virtual

◆ SetDirectionToDownward()

void vtkvmtkNonManifoldSteepestDescent::SetDirectionToDownward ( )
inline

Definition at line 59 of file vtkvmtkNonManifoldSteepestDescent.h.

◆ SetDirectionToUpward()

void vtkvmtkNonManifoldSteepestDescent::SetDirectionToUpward ( )
inline

Definition at line 61 of file vtkvmtkNonManifoldSteepestDescent.h.

62  {this->SetDirection(VTK_VMTK_UPWARD); }

◆ RequestData()

virtual int vtkvmtkNonManifoldSteepestDescent::RequestData ( vtkInformation *  ,
vtkInformationVector **  ,
vtkInformationVector *   
)
protectedvirtual

◆ GetSteepestDescent()

double vtkvmtkNonManifoldSteepestDescent::GetSteepestDescent ( vtkPolyData *  input,
vtkIdType *  edge,
double  s,
vtkIdType *  steepestDescentEdge,
double &  steepestDescentS 
)
protected

Compute the steepest descent point in terms of edge (point id pair) and parametric coordinate on edge. It takes in input a starting point expressed in terms of edge (point id pair) and parametric coordinate on edge. It returns the descent value.

◆ GetSteepestDescentInCell()

double vtkvmtkNonManifoldSteepestDescent::GetSteepestDescentInCell ( vtkPolyData *  input,
vtkIdType  cellId,
vtkIdType *  edge,
double  s,
vtkIdType *  steepestDescentEdge,
double &  steepestDescentS,
double &  steepestDescentLength 
)
protected

Compute the steepest descent point in terms of edge (point id pair) and parametric coordinate on edge. It takes in input a starting point expressed in terms of edge (point id pair) and parametric coordinate on edge. It returns the descent value.

Member Data Documentation

◆ DescentArray

vtkDataArray* vtkvmtkNonManifoldSteepestDescent::DescentArray
protected

Definition at line 79 of file vtkvmtkNonManifoldSteepestDescent.h.

◆ DescentArrayName

char* vtkvmtkNonManifoldSteepestDescent::DescentArrayName
protected

Definition at line 80 of file vtkvmtkNonManifoldSteepestDescent.h.

◆ NumberOfEdgeSubdivisions

int vtkvmtkNonManifoldSteepestDescent::NumberOfEdgeSubdivisions
protected

Definition at line 82 of file vtkvmtkNonManifoldSteepestDescent.h.

◆ Direction

int vtkvmtkNonManifoldSteepestDescent::Direction
protected

Definition at line 83 of file vtkvmtkNonManifoldSteepestDescent.h.


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