34 #ifndef vtkYoungsMaterialInterface_h 35 #define vtkYoungsMaterialInterface_h 37 #include "vtkFiltersGeneralModule.h" 45 class vtkYoungsMaterialInterfaceInternals;
101 vtkBooleanMacro(UseFractionAsDistance,
vtkTypeBool);
120 vtkSetVector2Macro(VolumeFractionRange,
double);
121 vtkGetVectorMacro(VolumeFractionRange,
double, 2);
128 virtual void SetNumberOfMaterials(
int n);
129 virtual int GetNumberOfMaterials();
136 vtkSetMacro(UseAllBlocks,
bool);
137 vtkGetMacro(UseAllBlocks,
bool);
138 vtkBooleanMacro(UseAllBlocks,
bool);
146 vtkGetMacro(NumberOfDomains,
int);
154 virtual void SetMaterialArrays(
int i,
const char* volume,
const char* normalX,
155 const char* normalY,
const char* normalZ,
const char* ordering);
156 virtual void SetMaterialArrays(
157 int i,
const char* volume,
const char* normal,
const char* ordering);
158 virtual void SetMaterialVolumeFractionArray(
int i,
const char* volume);
159 virtual void SetMaterialNormalArray(
int i,
const char* normal);
160 virtual void SetMaterialOrderingArray(
int i,
const char* ordering);
166 virtual void RemoveAllMaterials();
177 virtual void SetMaterialNormalArray(
const char* volume,
const char* normal);
178 virtual void SetMaterialOrderingArray(
const char* volume,
const char* ordering);
185 virtual void RemoveAllMaterialBlockMappings();
186 virtual void AddMaterialBlockMapping(
int b);
191 MAX_CELL_POINTS = 256
205 virtual void Aggregate(
int,
int*);
207 void UpdateBlockMapping();
209 int CellProduceInterface(
int dim,
int np,
double fraction,
double minFrac,
double maxFrac);
221 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.