32 void SetReferenceBounds(
const double bds[6]);
34 double xmin,
double xmax,
double ymin,
double ymax,
double zmin,
double zmax)
36 double bds[6] = { xmin, xmax, ymin, ymax, zmin, zmax };
37 this->SetReferenceBounds(bds);
39 vtkGetVector6Macro(ReferenceBounds,
double);
47 void SetUseReferenceBounds(
bool val);
48 vtkGetMacro(UseReferenceBounds,
bool);
57 double pos[3] = { x, y, z };
58 this->SetPosition(pos);
60 void SetPosition(
const double pos[3]);
61 vtkGetVector3Macro(
Position,
double);
70 double pos[3] = { x, y, z };
71 this->SetRotation(pos);
73 void SetRotation(
const double pos[3]);
74 vtkGetVector3Macro(Rotation,
double);
83 double pos[3] = { x, y, z };
86 void SetScale(
const double pos[3]);
87 vtkGetVector3Macro(Scale,
double);
93 void UpdateTransform();
98 double ReferenceBounds[6];
extends vtkBox to add ParaView specific API.
void SetRotation(double x, double y, double z)
Get/Set Rotation for the box.
struct Position_t Position
#define VTKPVVTKEXTENSIONSMISC_EXPORT
void SetReferenceBounds(double xmin, double xmax, double ymin, double ymax, double zmin, double zmax)
These bounds are used when UseReferenceBounds is set to true.
void SetPosition(double x, double y, double z)
Get/Set Position of the box.
void SetScale(double x, double y, double z)
Get/Set Scale for the box.
void operator=(const vtkObjectBase &)
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE