//----------------------------------------------------------------
VISU_OutsideCursorSettings::VISU_OutsideCursorSettings()
{
- this->MainTexture = NULL;
- this->AlphaTexture = NULL;
+ this->Initial = true;
+
+ this->Texture = NULL;
}
VISU_OutsideCursorSettings::~VISU_OutsideCursorSettings()
{
- this->SetMainTexture( NULL );
- this->SetAlphaTexture( NULL );
+ this->SetTexture( NULL );
}
//============================================================================
class vtkSphereSource;
class vtkPolyDataMapper;
class vtkActor;
+class vtkImageData;
class vtkInteractorStyle;
class VISU_GaussPtsDeviceActor;
VISU_OutsideCursorSettings*
New();
+ vtkSetMacro( Initial, bool );
+ vtkGetMacro( Initial, bool );
+
vtkSetMacro( Clamp, float );
vtkGetMacro( Clamp, float );
- vtkSetStringMacro( MainTexture );
- vtkGetStringMacro( MainTexture );
-
- vtkSetStringMacro( AlphaTexture );
- vtkGetStringMacro( AlphaTexture );
+ vtkSetMacro( Texture, vtkImageData* );
+ vtkGetMacro( Texture, vtkImageData* );
vtkSetMacro( AlphaThreshold, float );
vtkGetMacro( AlphaThreshold, float );
vtkGetVector3Macro( Color, float );
private:
- float Clamp;
- char* MainTexture;
- char* AlphaTexture;
- float AlphaThreshold;
- float Size;
- float Color[3];
+ bool Initial;
+
+ float Clamp;
+ vtkImageData* Texture;
+ float AlphaThreshold;
+ float Size;
+ float Color[3];
};
//----------------------------------------------------------------------------