EMAN2
Public Member Functions | Protected Attributes
EMAN::Isosurface Class Reference

#include <isosurface.h>

Inheritance diagram for EMAN::Isosurface:
Inheritance graph
[legend]
Collaboration diagram for EMAN::Isosurface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Isosurface ()
virtual ~Isosurface ()
virtual void set_data (EMData *data)
 Sets Voxel data for Isosurface implementation.
virtual void set_surface_value (const float value)=0
 Set Isosurface value.
virtual float get_surface_value () const =0
virtual void set_sampling (const int size)=0
 Set Grid Size.
virtual int get_sampling () const =0
virtual int get_sampling_range ()=0
 Get the number of feasible samplings.
virtual Dict get_isosurface ()=0
virtual void setRGBorigin (int x, int y, int z)=0
virtual void setRGBscale (float i, float o)=0
virtual void setRGBmode (int mode)=0
virtual void setCmapData (EMData *data)=0
virtual void setCmapMinMax (float min, float max)=0

Protected Attributes

EMData_emdata
float _surf_value

Detailed Description

Definition at line 44 of file isosurface.h.


Constructor & Destructor Documentation

EMAN::Isosurface::Isosurface ( ) [inline]

Definition at line 46 of file isosurface.h.

: _emdata(0), _surf_value(1) {}
virtual EMAN::Isosurface::~Isosurface ( ) [inline, virtual]

Definition at line 47 of file isosurface.h.

{}

Member Function Documentation

virtual Dict EMAN::Isosurface::get_isosurface ( ) [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual int EMAN::Isosurface::get_sampling ( ) const [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual int EMAN::Isosurface::get_sampling_range ( ) [pure virtual]

Get the number of feasible samplings.

Implemented in EMAN::MarchingCubes.

virtual float EMAN::Isosurface::get_surface_value ( ) const [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::set_data ( EMData data) [inline, virtual]

Sets Voxel data for Isosurface implementation.

Reimplemented in EMAN::MarchingCubes.

Definition at line 52 of file isosurface.h.

References _emdata, and data.

                                                    {
                        _emdata = data;
                }
virtual void EMAN::Isosurface::set_sampling ( const int  size) [pure virtual]

Set Grid Size.

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::set_surface_value ( const float  value) [pure virtual]

Set Isosurface value.

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::setCmapData ( EMData data) [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::setCmapMinMax ( float  min,
float  max 
) [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::setRGBmode ( int  mode) [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::setRGBorigin ( int  x,
int  y,
int  z 
) [pure virtual]

Implemented in EMAN::MarchingCubes.

virtual void EMAN::Isosurface::setRGBscale ( float  i,
float  o 
) [pure virtual]

Implemented in EMAN::MarchingCubes.


Member Data Documentation

Definition at line 88 of file isosurface.h.

Referenced by set_data().

float EMAN::Isosurface::_surf_value [protected]

Definition at line 90 of file isosurface.h.

Referenced by EMAN::MarchingCubes::get_surface_value().


The documentation for this class was generated from the following file: