objects whose property is manipulated by AnimationCue don't response to the callback , but this callback response in common render. How can I make this callback respose properly in AnimationCue ?

class CurtainAnimationCue : public vtkAnimationCue
{
public:
static CurtainAnimationCue * New() { return new CurtainAnimationCue; };
vtkTypeMacro(CurtainAnimationCue, vtkAnimationCue);

public:
CurtainAnimationCue()
{

};

~CurtainAnimationCue() {};

virtual void TickInternal(double currenttime, double deltatime, double clocktime) override
{
	// manipulations
};
void SeBoxWidget2(vtkSmartPointer<vtkBoxWidget2> BoxWidget)
{
	this->beforeBoxWidget = beforeBoxWidget;
};

private :
vtkSmartPointer BoxWidget;

};

class vtkCurtainClipCallback : public vtkCommand
{
public:
static vtkCurtainClipCallback * New() { return new vtkCurtainClipCallback; }
void Execute(vtkObject* caller, unsigned long eventId, void *callData)
{
vtkBoxWidget2 * curtainClipBeforeBox = vtkBoxWidget2::SafeDownCast(caller);
// callback
}

protected:
vtkCurtainClipCallback()
{

};
~vtkCurtainClipCallback()
{
}

private:
vtkSmartPointer BoxWidget;

};