Automatically computes the cut plane for a material array pair.
More...
#include <vtkCutMaterial.h>
Inherits vtkPolyDataAlgorithm.
|
void | PrintSelf (ostream &os, vtkIndent indent) |
|
virtual int | IsA (const char *type) |
|
vtkCutMaterial * | NewInstance () const |
|
|
virtual void | SetMaterialArrayName (const char *) |
|
virtual char * | GetMaterialArrayName () |
|
|
virtual void | SetMaterial (int) |
|
virtual int | GetMaterial () |
|
|
virtual void | SetArrayName (const char *) |
|
virtual char * | GetArrayName () |
|
|
virtual void | SetUpVector (double, double, double) |
|
virtual void | SetUpVector (double[3]) |
|
virtual double * | GetUpVector () |
|
virtual void | GetUpVector (double &, double &, double &) |
|
virtual void | GetUpVector (double[3]) |
|
|
virtual double * | GetMaximumPoint () |
|
virtual void | GetMaximumPoint (double &, double &, double &) |
|
virtual void | GetMaximumPoint (double[3]) |
|
virtual double * | GetCenterPoint () |
|
virtual void | GetCenterPoint (double &, double &, double &) |
|
virtual void | GetCenterPoint (double[3]) |
|
virtual double * | GetNormal () |
|
virtual void | GetNormal (double &, double &, double &) |
|
virtual void | GetNormal (double[3]) |
|
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.
- Tests:
- vtkCutMaterial (Tests)
Definition at line 35 of file vtkCutMaterial.h.
vtkCutMaterial::vtkCutMaterial |
( |
| ) |
|
|
protected |
vtkCutMaterial::~vtkCutMaterial |
( |
| ) |
|
|
protected |
void vtkCutMaterial::PrintSelf |
( |
ostream & |
os, |
|
|
vtkIndent |
indent |
|
) |
| |
static int vtkCutMaterial::IsTypeOf |
( |
const char * |
type | ) |
|
|
static |
virtual int vtkCutMaterial::IsA |
( |
const char * |
type | ) |
|
|
virtual |
static vtkCutMaterial* vtkCutMaterial::SafeDownCast |
( |
vtkObjectBase * |
o | ) |
|
|
static |
virtual vtkObjectBase* vtkCutMaterial::NewInstanceInternal |
( |
| ) |
const |
|
protectedvirtual |
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 |
virtual int vtkCutMaterial::GetMaterial |
( |
| ) |
|
|
virtual |
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 * |
, |
|
|
vtkInformationVector ** |
, |
|
|
vtkInformationVector * |
|
|
) |
| |
|
protectedvirtual |
virtual int vtkCutMaterial::FillInputPortInformation |
( |
int |
port, |
|
|
vtkInformation * |
info |
|
) |
| |
|
protectedvirtual |
void vtkCutMaterial::ComputeMaximumPoint |
( |
vtkDataSet * |
input | ) |
|
|
protected |
void vtkCutMaterial::ComputeNormal |
( |
| ) |
|
|
protected |
char* vtkCutMaterial::MaterialArrayName |
|
protected |
int vtkCutMaterial::Material |
|
protected |
char* vtkCutMaterial::ArrayName |
|
protected |
double vtkCutMaterial::UpVector[3] |
|
protected |
double vtkCutMaterial::MaximumPoint[3] |
|
protected |
double vtkCutMaterial::CenterPoint[3] |
|
protected |
double vtkCutMaterial::Normal[3] |
|
protected |
vtkPlane* vtkCutMaterial::PlaneFunction |
|
protected |
The documentation for this class was generated from the following file: