34 #ifndef ANA_SURFACE_VECTORFIELD_H 35 #define ANA_SURFACE_VECTORFIELD_H 75 virtual std::vector<float>
glMin2D()
const;
76 virtual std::vector<float>
glMax2D()
const;
81 virtual std::vector<float>
voxelSize()
const;
105 std::vector<int>
volumeSize(
int channel )
const;
107 static int canFusion(
const std::set<AObject *> & obj );
virtual std::vector< float > voxelSize() const
Returns at least 4 sizes. For 3D objects, returns (1, 1, 1, 1)
void setVectorChannelPosition(int channel, const std::vector< int > &pos)
ViewState holds information about how a view wants to see an object.
static int canFusion(const std::set< AObject *> &obj)
AObject * volume(int channel) const
Base Anatomist object (abstract)
virtual void glAfterBodyGLL(const ViewState &, GLPrimitives &) const
GL list to execute after the body is rendered.
static void editVectorFieldProperties(const std::set< AObject *> &obj)
std::list< carto::rc_ptr< GLItem > > PrimList
std::vector< int > volumeSize(int channel) const
virtual std::vector< float > glVoxelSize() const
virtual Material & GetMaterial()
virtual const GLComponent * glAPI() const
This class can be subclassed to represent an object that the programmer wants to have observed...
virtual void SetMaterial(const Material &)
std::string name() const
Name shown in control window.
virtual Tree * optionTree() const
Menu tree for new options, see object/optionMatcher.h.
virtual bool Is2DObject()
Can be display in 2D windows.
virtual void createDefaultPalette(const std::string &name="")
function called by getOrCreatePalette() - overloadable, need not be called directly ...
virtual ObjectMenu * optionMenu() const
virtual AObjectPalette * palette()
Normally, getOrCreatePalette() should be used instead of this function in most cases.
This class has to be rewritten, it's really really a shame.......
virtual std::vector< float > glMax2D() const
virtual const Referential * getReferential() const
std::vector< int > vectorChannelPosition(int channel) const
it's a list, in fact...
virtual bool render(PrimList &, const ViewState &)
rendering (generally 2D or 3D using OpenGL).
virtual std::vector< float > glMin2D() const
virtual void glBeforeBodyGLL(const ViewState &, GLPrimitives &) const
GL list to execute before the body is rendered.
void setScaling(float scaling)
virtual void update(const Observable *, void *)
This class is an Observer of each of the AObject it groups.
Point4df getPlane(const ViewState &) const
Gets the current slice plane.
void buildMesh(const ViewState &)
std::list< RefGLItem > GLPrimitives
Base class for all OpenGL objects in Anatomist (with OpenGL display lists)
virtual bool Is3DObject()
Can be display in 3D windows.
virtual void setVoxelSize(const std::vector< float > &)
Point3di spaceCoordsDimensions(int channel) const
virtual const AObjectPalette * glPalette(unsigned tex=0) const
virtual const Sliceable * sliceableAPI() const
VectorField(const std::vector< AObject *> &obj)
Referential: marker for transformations, with an associated color.
void setSpaceCoordsDimensions(int channel, const Point3di &dims)
virtual Sliceable * sliceableAPI()
Sliceable objects can draw themselves in a 2D texture.
virtual void setPalette(const AObjectPalette &palette)
void setVolume(int channel, AObject *obj)