|
VMTK
|
Create an empty, umbrella, area weighted umbrella, finite-element LP, or finite-volume finite-element stencil for a particular data set. More...
#include <vtkvmtkStencils.h>
Public Types | |
| typedef vtkvmtkItems | Superclass |
| Public Types inherited from vtkvmtkDataSetItems | |
| typedef vtkvmtkItems | Superclass |
| Public Types inherited from vtkvmtkItems | |
| typedef vtkObject | Superclass |
Public Member Functions | |
| virtual int | IsA (const char *type) |
| vtkvmtkStencils * | NewInstance () const |
| void | SetStencilTypeToEmptyStencil () |
| void | SetStencilTypeToUmbrellaStencil () |
| void | SetStencilTypeToAreaWeightedUmbrellaStencil () |
| void | SetStencilTypeToFELaplaceBeltramiStencil () |
| void | SetStencilTypeToFVFELaplaceBeltramiStencil () |
| void | SetStencilTypeToGradientStencil () |
| vtkvmtkStencil * | GetStencil (vtkIdType ptId) |
| void | AllocateStencil (vtkIdType i, vtkIdType stencilType) |
| void | SetNumberOfStencils (vtkIdType numberOfStencils) |
| vtkIdType | GetNumberOfStencils () |
| virtual void | SetWeightScaling (int) |
| virtual int | GetWeightScaling () |
| virtual void | WeightScalingOn () |
| virtual void | WeightScalingOff () |
| virtual void | SetNegateWeights (int) |
| virtual int | GetNegateWeights () |
| virtual void | NegateWeightsOn () |
| virtual void | NegateWeightsOff () |
| Public Member Functions inherited from vtkvmtkDataSetItems | |
| vtkvmtkDataSetItems * | NewInstance () const |
| void | Build () |
| void | SetDataSet (vtkDataSet *dataSet) |
| vtkDataSet * | GetDataSet () |
| virtual void | SetReallocateOnBuild (int) |
| virtual int | GetReallocateOnBuild () |
| virtual void | ReallocateOnBuildOn () |
| virtual void | ReallocateOnBuildOff () |
| Public Member Functions inherited from vtkvmtkItems | |
| vtkvmtkItems * | NewInstance () const |
| void | Allocate (vtkIdType numItems, vtkIdType ext=1000) |
| vtkvmtkItem * | GetItem (vtkIdType id) |
| void | Squeeze () |
| void | Reset () |
| void | Initialize () |
| void | ReleaseArray () |
| void | AllocateItem (vtkIdType i, vtkIdType itemType) |
| void | DeepCopy (vtkvmtkItems *src) |
| void | ShallowCopy (vtkvmtkItems *src) |
| virtual void | SetItemType (int) |
| virtual int | GetItemType () |
| void | SetNumberOfItems (vtkIdType numberOfItems) |
| vtkIdType | GetNumberOfItems () |
Static Public Member Functions | |
| static vtkvmtkStencils * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkStencils * | SafeDownCast (vtkObjectBase *o) |
| Static Public Member Functions inherited from vtkvmtkDataSetItems | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkDataSetItems * | SafeDownCast (vtkObjectBase *o) |
| Static Public Member Functions inherited from vtkvmtkItems | |
| static int | IsTypeOf (const char *type) |
| static vtkvmtkItems * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
| virtual vtkObjectBase * | NewInstanceInternal () const |
| vtkvmtkStencils () | |
| ~vtkvmtkStencils () | |
| virtual vtkvmtkItem * | InstantiateNewItem (int itemType) override |
| Protected Member Functions inherited from vtkvmtkDataSetItems | |
| vtkvmtkDataSetItems () | |
| ~vtkvmtkDataSetItems () | |
| Protected Member Functions inherited from vtkvmtkItems | |
| vtkvmtkItems () | |
| ~vtkvmtkItems () | |
| vtkvmtkItem ** | Resize (vtkIdType sz) |
Protected Attributes | |
| int | WeightScaling |
| int | NegateWeights |
| Protected Attributes inherited from vtkvmtkDataSetItems | |
| vtkDataSet * | DataSet |
| int | ReallocateOnBuild |
| Protected Attributes inherited from vtkvmtkItems | |
| vtkvmtkItem ** | Array |
| vtkIdType | Size |
| vtkIdType | MaxId |
| vtkIdType | Extend |
| int | ItemType |
Create an empty, umbrella, area weighted umbrella, finite-element LP, or finite-volume finite-element stencil for a particular data set.
A vtkvmtkItems collection specialized to hold one vtkvmtkStencil per point of a data set (see vtkvmtkDataSetItems::SetDataSet), instantiating the concrete stencil subclass requested by SetItemType (or the SetStencilTypeTo* convenience methods) for each point. WeightScaling and NegateWeights are propagated to every stencil instantiated afterwards, mirroring the like-named flags on vtkvmtkStencil itself.
Definition at line 42 of file vtkvmtkStencils.h.
Definition at line 47 of file vtkvmtkStencils.h.
|
protected |
Definition at line 35 of file vtkvmtkStencils.cxx.
|
inlineprotected |
Definition at line 129 of file vtkvmtkStencils.h.
|
static |
|
static |
|
virtual |
Reimplemented from vtkvmtkDataSetItems.
|
static |
|
protectedvirtual |
Reimplemented from vtkvmtkDataSetItems.
| vtkvmtkStencils * vtkvmtkStencils::NewInstance | ( | ) | const |
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkEmptyStencil instances.
Definition at line 53 of file vtkvmtkStencils.h.
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkPolyDataUmbrellaStencil instances (uniform Laplacian weights).
Definition at line 59 of file vtkvmtkStencils.h.
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkPolyDataAreaWeightedUmbrellaStencil instances.
Definition at line 65 of file vtkvmtkStencils.h.
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkPolyDataFELaplaceBeltramiStencil instances.
Definition at line 71 of file vtkvmtkStencils.h.
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkPolyDataFVFELaplaceBeltramiStencil instances.
Definition at line 77 of file vtkvmtkStencils.h.
|
inline |
Convenience method: subsequent AllocateStencil/AllocateItem calls create vtkvmtkPolyDataGradientStencil instances.
Definition at line 83 of file vtkvmtkStencils.h.
|
inline |
|
inline |
Set/Get the number of stencils held by this collection (one per data set point).
Definition at line 95 of file vtkvmtkStencils.h.
|
inline |
Set/Get the number of stencils held by this collection (one per data set point).
Definition at line 96 of file vtkvmtkStencils.h.
|
inline |
Instantiate the stencil for point i as the given stencilType (one of the VTK_VMTK_*_STENCIL constants, or use the SetStencilTypeTo* convenience methods beforehand and call AllocateItem(i, GetItemType()) via the base class instead).
Definition at line 104 of file vtkvmtkStencils.h.
|
virtual |
Toggle whether ScaleWeights() rescales stencil weights, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::WeightScaling. Default: on.
|
virtual |
Toggle whether ScaleWeights() rescales stencil weights, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::WeightScaling. Default: on.
|
virtual |
Toggle whether ScaleWeights() rescales stencil weights, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::WeightScaling. Default: on.
|
virtual |
Toggle whether ScaleWeights() rescales stencil weights, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::WeightScaling. Default: on.
|
virtual |
Toggle whether stencil weights are sign-negated after being computed, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::NegateWeights. Default: on.
|
virtual |
Toggle whether stencil weights are sign-negated after being computed, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::NegateWeights. Default: on.
|
virtual |
Toggle whether stencil weights are sign-negated after being computed, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::NegateWeights. Default: on.
|
virtual |
Toggle whether stencil weights are sign-negated after being computed, propagated to every stencil instantiated by this collection afterwards. See vtkvmtkStencil::NegateWeights. Default: on.
|
overrideprotectedvirtual |
Implements vtkvmtkItems.
Definition at line 42 of file vtkvmtkStencils.cxx.
|
protected |
Definition at line 133 of file vtkvmtkStencils.h.
|
protected |
Definition at line 135 of file vtkvmtkStencils.h.