VTK
|
Automatically computes the cut plane for a material array pair. More...
#include <vtkCutMaterial.h>
Automatically computes the cut plane for a material array pair.
vtkCutMaterial computes a cut plane based on an up vector, center of the bounding box and the location of the maximum variable value. These computed values are available so that they can be used to set the camera for the best view of the plane.
Definition at line 35 of file vtkCutMaterial.h.
Reimplemented from vtkPolyDataAlgorithm.
Definition at line 39 of file vtkCutMaterial.h.
vtkCutMaterial::vtkCutMaterial | ( | ) | [protected] |
vtkCutMaterial::~vtkCutMaterial | ( | ) | [protected] |
void vtkCutMaterial::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkPolyDataAlgorithm.
static int vtkCutMaterial::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkCutMaterial::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkPolyDataAlgorithm.
static vtkCutMaterial* vtkCutMaterial::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
virtual vtkObjectBase* vtkCutMaterial::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkPolyDataAlgorithm.
vtkCutMaterial* vtkCutMaterial::NewInstance | ( | ) | const |
Reimplemented from vtkPolyDataAlgorithm.
static vtkCutMaterial* vtkCutMaterial::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual void vtkCutMaterial::SetMaterialArrayName | ( | const char * | ) | [virtual] |
Cell array that contains the material values.
virtual char* vtkCutMaterial::GetMaterialArrayName | ( | ) | [virtual] |
Cell array that contains the material values.
virtual void vtkCutMaterial::SetMaterial | ( | int | ) | [virtual] |
Material to probe.
virtual int vtkCutMaterial::GetMaterial | ( | ) | [virtual] |
Material to probe.
virtual void vtkCutMaterial::SetArrayName | ( | const char * | ) | [virtual] |
For now, we just use the cell values. The array name to cut.
virtual char* vtkCutMaterial::GetArrayName | ( | ) | [virtual] |
For now, we just use the cell values. The array name to cut.
virtual void vtkCutMaterial::SetUpVector | ( | double | , |
double | , | ||
double | |||
) | [virtual] |
The last piece of information that specifies the plane.
virtual void vtkCutMaterial::SetUpVector | ( | double | [3] | ) | [virtual] |
The last piece of information that specifies the plane.
virtual double* vtkCutMaterial::GetUpVector | ( | ) | [virtual] |
The last piece of information that specifies the plane.
virtual void vtkCutMaterial::GetUpVector | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
The last piece of information that specifies the plane.
virtual void vtkCutMaterial::GetUpVector | ( | double | [3] | ) | [virtual] |
The last piece of information that specifies the plane.
virtual double* vtkCutMaterial::GetMaximumPoint | ( | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetMaximumPoint | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetMaximumPoint | ( | double | [3] | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual double* vtkCutMaterial::GetCenterPoint | ( | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetCenterPoint | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetCenterPoint | ( | double | [3] | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual double* vtkCutMaterial::GetNormal | ( | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetNormal | ( | double & | , |
double & | , | ||
double & | |||
) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual void vtkCutMaterial::GetNormal | ( | double | [3] | ) | [virtual] |
Accesses to the values computed during the execute method. They could be used to get a good camera view for the resulting plane.
virtual int vtkCutMaterial::RequestData | ( | vtkInformation * | request, |
vtkInformationVector ** | inputVector, | ||
vtkInformationVector * | outputVector | ||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
virtual int vtkCutMaterial::FillInputPortInformation | ( | int | port, |
vtkInformation * | info | ||
) | [protected, virtual] |
Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.
Reimplemented from vtkPolyDataAlgorithm.
void vtkCutMaterial::ComputeMaximumPoint | ( | vtkDataSet * | input | ) | [protected] |
void vtkCutMaterial::ComputeNormal | ( | ) | [protected] |
char* vtkCutMaterial::MaterialArrayName [protected] |
Definition at line 83 of file vtkCutMaterial.h.
int vtkCutMaterial::Material [protected] |
Definition at line 84 of file vtkCutMaterial.h.
char* vtkCutMaterial::ArrayName [protected] |
Definition at line 85 of file vtkCutMaterial.h.
double vtkCutMaterial::UpVector[3] [protected] |
Definition at line 86 of file vtkCutMaterial.h.
double vtkCutMaterial::MaximumPoint[3] [protected] |
Definition at line 87 of file vtkCutMaterial.h.
double vtkCutMaterial::CenterPoint[3] [protected] |
Definition at line 88 of file vtkCutMaterial.h.
double vtkCutMaterial::Normal[3] [protected] |
Definition at line 89 of file vtkCutMaterial.h.
vtkPlane* vtkCutMaterial::PlaneFunction [protected] |
Definition at line 91 of file vtkCutMaterial.h.