Commit 7e87accf authored by Will Schroeder's avatar Will Schroeder
Browse files

ENH: Added control of propogation.

parent acd9954b
......@@ -85,17 +85,38 @@ public:
char *GetClassName() {return "vtkAssembly";};
void PrintSelf(ostream& os, vtkIndent indent);
void AddParts(vtkActor *);
void RemoveParts(vtkActor *);
void AddPart(vtkActor *);
void RemovePart(vtkActor *);
vtkActorCollection *GetParts();
// Description:
// Enable/disable the recursive application of the assembly's
// transformation matrix to its component parts. Enabling this
// instance variable allows you to manipulate an assembly as if
// it were a single component. Note: the application of the
// transformation occurs during the rendering process.
vtkSetMacro(ApplyTransform,int);
vtkGetMacro(ApplyTransform,int);
vtkBooleanMacro(ApplyTransform,int);
// Description:
// Enable/disable the recursive application of the assembly's
// properties to its component parts. Enabling this instance
// variable allows you to set the same properties to all its
// component parts with a single command. Note: the application
// of the properties occurs during the rendering process.
vtkSetMacro(ApplyProperty,int);
vtkGetMacro(ApplyProperty,int);
vtkBooleanMacro(ApplyProperty,int);
void Render(vtkRenderer *ren);
virtual void ApplyTransformation();
virtual void ApplyProperties();
protected:
vtkActorCollection Parts;
int ApplyTransform;
int ApplyProperty;
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment