[vtkusers] deriving my own class from vtkActor

Steffen Oeltze Steffen.Oeltze at Student.Uni-Magdeburg.DE
Wed Oct 9 06:00:06 EDT 2002


Dear VTK-users,

I have tried to derive my own class from vtkActor using the following
code:

class FIB_TRACK : public vtkActor
{
public:
    FIB_TRACK(double [3], double [3], bool);
    ~FIB_TRACK();
....
}

For creating a new object I use:

FIB_TRACK *newAct = new FIB_TRACK(seedpoint, dims, true);

Then, I construct the rendering pipeline, add the actor to the
renderer and render the window but nothing happens. Is there
anyone who can help me ?

Regards,
Steffen



More information about the vtkusers mailing list