37 #ifndef vtkYoungsMaterialInterface_h
38 #define vtkYoungsMaterialInterface_h
40 #include "vtkFiltersGeneralModule.h"
48 class vtkYoungsMaterialInterfaceInternals;
104 vtkBooleanMacro(UseFractionAsDistance,
vtkTypeBool);
123 vtkSetVector2Macro(VolumeFractionRange,
double);
124 vtkGetVectorMacro(VolumeFractionRange,
double, 2);
131 virtual void SetNumberOfMaterials(
int n);
132 virtual int GetNumberOfMaterials();
139 vtkSetMacro(UseAllBlocks,
bool);
140 vtkGetMacro(UseAllBlocks,
bool);
141 vtkBooleanMacro(UseAllBlocks,
bool);
149 vtkGetMacro(NumberOfDomains,
int);
157 virtual void SetMaterialArrays(
int i,
const char* volume,
const char* normalX,
158 const char* normalY,
const char* normalZ,
const char* ordering);
159 virtual void SetMaterialArrays(
160 int i,
const char* volume,
const char* normal,
const char* ordering);
161 virtual void SetMaterialVolumeFractionArray(
int i,
const char* volume);
162 virtual void SetMaterialNormalArray(
int i,
const char* normal);
163 virtual void SetMaterialOrderingArray(
int i,
const char* ordering);
169 virtual void RemoveAllMaterials();
180 virtual void SetMaterialNormalArray(
const char* volume,
const char* normal);
181 virtual void SetMaterialOrderingArray(
const char* volume,
const char* ordering);
188 virtual void RemoveAllMaterialBlockMappings();
189 virtual void AddMaterialBlockMapping(
int b);
194 MAX_CELL_POINTS = 256
208 virtual void Aggregate(
int,
int*);
210 void UpdateBlockMapping();
212 int CellProduceInterface(
int dim,
int np,
double fraction,
double minFrac,
double maxFrac);
224 double VolumeFractionRange[2];
vtkTypeBool UseFractionAsDistance
Read-Write Properties.
vtkYoungsMaterialInterfaceInternals * Internals
int NumberOfDomains
Read only properties.
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
This is called by the superclass.
static vtkMultiBlockDataSetAlgorithm * New()
dynamic, self-adjusting array of int
vtkTypeBool OnionPeel
Read-Write Properties.
a simple class to control print indentation
vtkSmartPointer< vtkIntArray > MaterialBlockMapping
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
reconstructs material interfaces
vtkTypeBool ReverseMaterialOrder
Read-Write Properties.
vtkTypeBool FillMaterial
Read-Write Properties.
vtkTypeBool InverseNormal
Read-Write Properties.
vtkTypeBool AxisSymetric
Read-Write Properties.