Main Page | Directories | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkCutMaterial Class Reference

#include <vtkCutMaterial.h>

Inheritance diagram for vtkCutMaterial:

Inheritance graph
[legend]
Collaboration diagram for vtkCutMaterial:

Collaboration graph
[legend]
List of all members.

Detailed Description

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.

Created by:
  • Law, Charles
CVS contributions (if > 5%):
  • Law, Charles (79%)
  • Cedilnik, Andy (6%)
  • Martin, Ken (6%)
CVS logs (CVSweb):
  • .h (/Parallel/vtkCutMaterial.h)
  • .cxx (/Parallel/vtkCutMaterial.cxx)
Tests:
vtkCutMaterial (Tests)

Definition at line 46 of file vtkCutMaterial.h.

Public Types

typedef vtkDataSetToPolyDataFilter Superclass

Public Member Functions

void PrintSelf (ostream &os, vtkIndent indent)
virtual const char * GetClassName ()
virtual int IsA (const char *type)
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])

Static Public Member Functions

int IsTypeOf (const char *type)
vtkCutMaterialSafeDownCast (vtkObject *o)
vtkCutMaterialNew ()

Protected Member Functions

 vtkCutMaterial ()
 ~vtkCutMaterial ()
void Execute ()
void ComputeMaximumPoint (vtkDataSet *input)
void ComputeNormal ()

Protected Attributes

char * MaterialArrayName
int Material
char * ArrayName
double UpVector [3]
double MaximumPoint [3]
double CenterPoint [3]
double Normal [3]
vtkPlanePlaneFunction


Member Typedef Documentation

typedef vtkDataSetToPolyDataFilter vtkCutMaterial::Superclass
 

Reimplemented from vtkDataSetToPolyDataFilter.

Definition at line 50 of file vtkCutMaterial.h.


Constructor & Destructor Documentation

vtkCutMaterial::vtkCutMaterial  )  [protected]
 

vtkCutMaterial::~vtkCutMaterial  )  [protected]
 


Member Function Documentation

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 vtkDataSetToPolyDataFilter.

virtual const char* vtkCutMaterial::GetClassName  )  [virtual]
 

Reimplemented from vtkDataSetToPolyDataFilter.

int vtkCutMaterial::IsTypeOf const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

virtual int vtkCutMaterial::IsA const char *  type  )  [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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkDataSetToPolyDataFilter.

vtkCutMaterial* vtkCutMaterial::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkDataSetToPolyDataFilter.

vtkCutMaterial* vtkCutMaterial::New  )  [static]
 

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkAlgorithm.

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.

void vtkCutMaterial::Execute  )  [protected, virtual]
 

This method is the old style execute method

Reimplemented from vtkSource.

void vtkCutMaterial::ComputeMaximumPoint vtkDataSet input  )  [protected]
 

void vtkCutMaterial::ComputeNormal  )  [protected]
 


Member Data Documentation

char* vtkCutMaterial::MaterialArrayName [protected]
 

Definition at line 93 of file vtkCutMaterial.h.

int vtkCutMaterial::Material [protected]
 

Definition at line 94 of file vtkCutMaterial.h.

char* vtkCutMaterial::ArrayName [protected]
 

Definition at line 95 of file vtkCutMaterial.h.

double vtkCutMaterial::UpVector[3] [protected]
 

Definition at line 96 of file vtkCutMaterial.h.

double vtkCutMaterial::MaximumPoint[3] [protected]
 

Definition at line 97 of file vtkCutMaterial.h.

double vtkCutMaterial::CenterPoint[3] [protected]
 

Definition at line 98 of file vtkCutMaterial.h.

double vtkCutMaterial::Normal[3] [protected]
 

Definition at line 99 of file vtkCutMaterial.h.

vtkPlane* vtkCutMaterial::PlaneFunction [protected]
 

Definition at line 101 of file vtkCutMaterial.h.


The documentation for this class was generated from the following file: